RubyGems 1.5.0 dies on Ruby 1.8.6

Wincent Colaiuta's Avatar

Wincent Colaiuta

01 Feb, 2011 01:48 AM

Just tested the 1.5.0 release on a couple of Linux boxes and looks like it's not compatible with Ruby 1.8.6. I get this when running sudo gem update --system:

./lib/rubygems/custom_require.rb:31:in `require': undefined method `end_with?' for "no such file to load -- Win32API":String (NoMethodError)

This is on ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-linux]. RubyGems 1.4.2 worked fine.

I gather the end_with? method was only added in Ruby 1.8.7 (tested on ruby 1.8.7 (2010-01-10 patchlevel 249) [i686-linux] and it works fine).

  1. 1 Posted by Luis Lavena on 01 Feb, 2011 02:18 PM

    Luis Lavena's Avatar

    Please report bugs to RubyGems tracker:

  2. 2 Posted by Wincent Colaiut... on 01 Feb, 2011 02:22 PM

    Wincent Colaiuta's Avatar


    (BTW, I initially looked for a link to the RubyGems bug tracker and couldn't find one. Figured this was the bug tracker.)

  3. Support Staff 3 Posted by Eric Hodel on 01 Feb, 2011 07:12 PM

    Eric Hodel's Avatar

    RubyGems 1.5 does not support ruby 1.8.6 per

  4. Eric Hodel closed this discussion on 01 Feb, 2011 07:12 PM.

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