[#23231] What do you think about changing the return value of Kernel#require and Kernel#load to the source encoding of the required file? — =?ISO-8859-15?Q?Wolfgang_N=E1dasi-Donner?= <ed.odanow@...>

Dear Ruby developers and users!

8 messages 2009/04/17

[#23318] [Feature #1408] 0.1.to_r not equal to (1/10) — Heesob Park <redmine@...>

Feature #1408: 0.1.to_r not equal to (1/10)

19 messages 2009/04/26

[ruby-core:23113] [Bug #1350] gem method with version dependency fails

From: Luis Lavena <redmine@...>
Date: 2009-04-03 20:55:10 UTC
List: ruby-core #23113
Bug #1350: gem method with version dependency fails
http://redmine.ruby-lang.org/issues/show/1350

Author: Luis Lavena
Status: Open, Priority: Normal
Category: core, Target version: 1.9.1
ruby -v: 1.9.1-p0 darwin9/mingw32

Been trying to use 1.9.1 with certain gems, but it seems that the gem command is broken when a version dependency is specified.

See the following results:

http://pastie.org/436343

## ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32]

irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-mingw32]"
irb(main):002:0> gem 'win32console', '>= 1.2.0'
NoMethodError: undefined method `<=>' for nil:NilClass
        from <internal:gem_prelude>:249:in `push_gem_version_on_load_path'
        from <internal:gem_prelude>:14:in `gem'
        from (irb):2
        from D:/Users/Luis/ruby/ruby-1.9.1-p0-i386-mingw32/bin/irb:12:in `<main>'

## ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]

irb(main):001:0> RUBY_DESCRIPTION
=> "ruby 1.9.1p0 (2009-01-30 revision 21907) [i386-darwin9.6.0]"
irb(main):002:0> gem 'cucumber', '>= 0.1.0'
NoMethodError: undefined method `<=>' for nil:NilClass
        from <internal:gem_prelude>:249:in `push_gem_version_on_load_path'
        from <internal:gem_prelude>:14:in `gem'
        from (irb):2
        from /opt/local/bin/irb-1.9.1:12:in `<main>'

It seems that doesn't matter what gem or version is specified, gem method fails.


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next