Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Illformed requirement on edge with certain versions of ruby

#2636

hi everyone, I'm using latest edge snapshot.

upon script/server:


/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:144:in `parse': Illformed requirement ["~> 1.1.pre"] (ArgumentError)
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:70:in `initialize'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:69:in `map'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:69:in `initialize'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:42:in `new'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/requirement.rb:42:in `create'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/dependency.rb:29:in `initialize'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:307:in `new'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:307:in `activate'
	 ... 8 levels...
	from /Users/kain/Sites/careme/vendor/rails/railties/lib/commands/server.rb:1
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
	from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require'
	from script/server:3

this is with leopard vanilla ruby. I tried also with a not so recent version (20090113) of Ruby Enterprise Edition and got the same error; I updated REE (20090421) and the problem disappeared.

Reported by Claudio Poli · May 11th, 2009 @ 10:19 PM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Claudio Poli
    Claudio Poli

    upon further investigation seems like it's the rubygems version, not the ruby version.

    rubygems version:

    1.3.3 - no error 1.3.2 - no error 1.3.1 - error 1.0.1 - error (vanilla leopard)

    if this is an intended change, feel free to close.

    May 11th, 2009 @ 10:32 PM

  2. CancelProfileIsBroken
    CancelProfileIsBroken
    • State changed from new to resolved

    Yes, by design. Edge depends on rubygems 1.3.2 or higher.

    May 12th, 2009 @ 12:17 AM