Some elements of stdlib are not installed #263

Closed
parkr opened this Issue Jan 5, 2013 · 3 comments

Comments

Projects
None yet
2 participants

parkr commented Jan 5, 2013

~$ rbenv install 1.9.3-p362
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /home/user/.rbenv/versions/1.9.3-p362

Downloading ruby-1.9.3-p362.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/1efc2316dc50e97591792d90647fade2
Installing ruby-1.9.3-p362...
Installed ruby-1.9.3-p362 to /home/user/.rbenv/versions/1.9.3-p362

~$ irb
>> require 'causes'
LoadError: cannot load such file -- causes
    from /home/user/.rbenv/versions/1.9.3-p362/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from /home/user/.rbenv/versions/1.9.3-p362/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
    from (irb):1
    from /home/user/.rbenv/versions/1.9.3-p362/bin/irb:12:in `<main>'

The Causes module, which is part of the stdlib, is apparently not installed during execution of the rbenv install command.

Member

jeremy commented Jan 5, 2013

There is no causes in stdlib. curses perhaps?

@jeremy jeremy closed this Jan 5, 2013

parkr commented Jan 5, 2013

Yes, that's what I meant, sorry. Know why Curses wouldn't be compiled in the source?

Member

jeremy commented Jan 6, 2013

@parkr I imagine you're on Debian/Ubuntu and missing libncurses-dev. Guessing though. Try an install with the --keep option to retain the build dir, then inspect the config and build logs to see what's up: https://github.com/sstephenson/ruby-build#keeping-the-build-directory-after-installation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment