errors when running ruby setup.rb
Using CentOS 5.4 I did a yum install ruby (1.8.5-5.el5_4.8)
I loaded the default version of rubygems (1.7.2)
I get an error when running ruby setup.rb. Any suggestions?
[***@vizitdb rubygems-1.7.2]# ruby setup.rb ./lib/rubygems/custom_require.rb:53: warning: parenthesize argument(s) for future version ./lib/rubygems/custom_require.rb:56:in require': undefined methodend_with?' for no such file to load -- Win32API (NoMethodError)
from ./lib/rubygems/config_file.rb:55
from ./lib/rubygems/custom_require.rb:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from ./lib/rubygems/gem_runner.rb:8
from ./lib/rubygems/custom_require.rb:36:in `gem_original_require'
from ./lib/rubygems/custom_require.rb:36:in `require'
from setup.rb:25
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Luis Lavena on 25 Apr, 2011 05:03 PM
RubyGems 1.7.2 requires Ruby 1.8.7 or greater.
Luis Lavena closed this discussion on 25 Apr, 2011 05:03 PM.
Paul Bourget re-opened this discussion on 25 Apr, 2011 05:20 PM
3 Posted by Paul Bourget on 25 Apr, 2011 05:20 PM
I installed ruby 1.8.7 compiling from source. Yum list still shows 1.8.5. Do I have to remove the old version using yum and then do the make install again?
4 Posted by Paul Bourget on 25 Apr, 2011 05:28 PM
I opened a new shell and setup.rb now works. Yum still shows 1.8.5 though.
Nick Quaranto closed this discussion on 08 May, 2011 05:08 PM.