String#end_with? was added in Ruby 1.8.7 and earlier versions are not supported by rubygems >= 1.4:
http://blog.segment7.net/2010/04/23/ruby-1-8-6-policy On Sun, Feb 6, 2011 at 10:46 PM, Alan Baird <aba...@bairdsnet.net> wrote: > Sorry if that wasn't clear. We started out with a fresh Ruby install > and then when we tried to install Watir. We could not install it > because one of Watir's dependencies, Hoe, gave us the message that it > couldn't be installed because it wanted RubyGems >= 1.4. This was a > problem for us because 'gem update --system' didn't work. I've tried > this on my home computer (starting from RubyGems 1.3.7) and I get the > following error: > > C:\Users\Alan>gem update --system > Updating RubyGems > Updating rubygems-update > Successfully installed rubygems-update-1.5.0 > Updating RubyGems to 1.5.0 > Installing RubyGems 1.5.0 > ./lib/rubygems/custom_require.rb:31:in `require': undefined method > `end_with?' for "no such file to load -- psych":Strin > g (NoMethodError) > from ./lib/rubygems.rb:676:in `load_yaml' > from ./lib/rubygems/config_file.rb:224:in `load_file' > from ./lib/rubygems/config_file.rb:173:in `initialize' > from ./lib/rubygems/gem_runner.rb:76:in `new' > from ./lib/rubygems/gem_runner.rb:76:in `do_configuration' > from ./lib/rubygems/gem_runner.rb:49:in `run' > from setup.rb:35 > RubyGems system software updated > > Is anyone else experiencing this? > > Alan > _______________________________________________ > Wtr-development mailing list > Wtr-development@rubyforge.org > http://rubyforge.org/mailman/listinfo/wtr-development > _______________________________________________ Wtr-development mailing list Wtr-development@rubyforge.org http://rubyforge.org/mailman/listinfo/wtr-development