This project is archived and is in readonly mode.
rails server
-
Ben Marini
I'm seeing the same issue. Using the rails command from inside a new rails 3 app, and I get ton of warning output. It's basically telling me all the gemspecs for all the gems rails requires are invalid, same warnings over and over:
WARNING: #<NoMethodError: undefined method `>' for nil:NilClass> WARNING: Invalid .gemspec format in '/usr/local/Cellar/ruby/1.9.1-p378/lib/ruby/gems/1.9.1/specifications/abstract-1.0.0.gemspec'I'm using homebrew with ruby 1.9.1p378. I installed rails 3 using
gem install rails3bandgem install rails --pre
I attached the STDERR output I'm getting. -
Ben Marini
Looks like this is an issue with rubygems 1.3.5 and ruby 1.9.1
http://www.ruby-forum.com/topic/194832 -
rgreen
Is theere a solution?
-
Ben Marini
The problem seems to stem from the fact that bundler requires 'rubygems/specification'. I can replicate the problem outside of rails too. Try this in irb:
require 'bundler' -
rgreen
I assume then there is no user fix for this. I should probably just wait for the public release of Rails 3. Right?
-
Ben Marini
It's more annoying than anything. Interestingly, I can use
rackupinstead ofrails serverand I get no error output.`rackup -p 3000` -
Ryan Bigg
I too get this annoying spam when I start up the server. More of a you-upgraded-rubygems-and-you-shouldn't-have issue, methinks. But doesn't some gem require you to have 1.3.5?
-
rgreen
Ryan I think you are right.
-
Matt Hulse
Check out this Bundler issue: http://github.com/carlhuda/bundler/issues/#issue/24. I was able to get rid of the spam by following @sakuro's advice.
-
Prem Sichanugrist (sikachu)
- State changed from new to resolved
The problem has been resolved in bundler 0.9.4
