Installation failure

Vladimir Makarov's Avatar

Vladimir Makarov

17 Jan, 2012 10:50 PM

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.

  1. Support Staff 1 Posted by Evan Phoenix on 21 Feb, 2012 01:22 AM

    Evan Phoenix's Avatar

    Since you're on 1.9, I suggest you use "gem update --system" instead, since it will do the right thing on 1.9.

  2. Evan Phoenix closed this discussion on 21 Feb, 2012 01:22 AM.

  3. Eric Hodel re-opened this discussion on 21 Feb, 2012 02:47 AM

  4. Support Staff 2 Posted by Eric Hodel on 21 Feb, 2012 02:47 AM

    Eric Hodel's Avatar

    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.

  5. Eric Hodel closed this discussion on 21 Feb, 2012 02:48 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac