Installation failure
When attempting to install Rubygems (brand new) on Linux, I get this error message:
stlucamtst01 local/rubygems-1.8.12> ruby setup.rb --help
<internal:lib/rubygems/custom_require>:29:in `require': no
such file to load -- rubygems (LoadError)
from <internal:lib/rubygems/custom_require>:29:in `require'
from <internal:gem_prelude>:167:in `load_full_rubygems_library'
from <internal:gem_prelude>:217:in `try_activate'
from <internal:lib/rubygems/custom_require>:32:in `rescue in require'
from <internal:lib/rubygems/custom_require>:29:in `require'
from setup.rb:12:in `<main>'
I am using ruby 1.9.1, and all locations are custom (cannot modify this requirement). I have seen somewhere that I need to set GEM_HOME and RUBYLIB, I have done so, but the problems persists. Thank you.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Evan Phoenix on 21 Feb, 2012 01:22 AM
Since you're on 1.9, I suggest you use "gem update --system" instead, since it will do the right thing on 1.9.
Evan Phoenix closed this discussion on 21 Feb, 2012 01:22 AM.
Eric Hodel re-opened this discussion on 21 Feb, 2012 02:47 AM
Support Staff 3 Posted by Eric Hodel on 21 Feb, 2012 02:47 AM
Additionally, 1.9.1 is no longer an officially supported version of ruby, so it may be that newer versions of RubyGems no longer work on it.
I'm fairly certain RubyGems is no longer testing on it, so you may need to upgrade to a supported ruby version.
Eric Hodel closed this discussion on 21 Feb, 2012 02:48 AM.