2

I have installed ruby 1.9.3 from sources and downloaded rubygems 1.3.6 also source. looking at the manual I untarred the tarball and typed ruby setup.rb This is what I get as output:

/usr/local/lib/ruby/1.9.1/rubygems.rb:206:in `try_activate': undefined method 
`find_by_path' for Gem::Specification:Class (NoMethodError)
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
        from /root/rubygems-1.3.6/lib/rubygems/config_file.rb:50:in `<class:ConfigFile>'
        from /root/rubygems-1.3.6/lib/rubygems/config_file.rb:28:in `<top (required)>'
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /root/rubygems-1.3.6/lib/rubygems/gem_runner.rb:8:in `<top (required)>'
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from /usr/local/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
        from setup.rb:25:in `<main>'

This is done on CentOS 5

Tom Klino
  • 2,358
  • 5
  • 35
  • 60

1 Answers1

0

The current stable version of Rubygems is 1.8.24, any specific reason you are installing 1.3.6?

Anand Shah
  • 14,575
  • 16
  • 72
  • 110
  • 2
    because that is what works with rails 2. check this out http://stackoverflow.com/questions/11028804/undefined-method-name-for-actionmailerstring – light24bulbs Jul 30 '14 at 23:08