This project is archived and is in readonly mode.
rails server
Reported by rgreen | February 6th, 2010 @ 09:21 PM
Installed Rails 3.0.0 Beta.
Created new app.
Ran 'rails server'.
Server does start but terminal shows hundreds of lines of
errors.
What gives?
Comments and changes to this ticket
-
Ben Marini February 6th, 2010 @ 10:13 PM
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 rails3b
andgem install rails --pre
I attached the STDERR output I'm getting. -
Ben Marini February 6th, 2010 @ 10:26 PM
Looks like this is an issue with rubygems 1.3.5 and ruby 1.9.1
http://www.ruby-forum.com/topic/194832
-
Ben Marini February 7th, 2010 @ 12:49 AM
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 February 7th, 2010 @ 01:07 AM
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 February 7th, 2010 @ 01:33 AM
It's more annoying than anything. Interestingly, I can use
rackup
instead ofrails server
and I get no error output.`rackup -p 3000`
-
Ryan Bigg February 7th, 2010 @ 03:05 AM
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?
-
Matt Hulse February 7th, 2010 @ 05:54 AM
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) February 11th, 2010 @ 06:22 PM
- State changed from new to resolved
The problem has been resolved in bundler 0.9.4
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>