This project is archived and is in readonly mode.
Cant start rails server - rails3
Reported by Ernest Bursa | February 25th, 2010 @ 10:18 AM
I cant start server using command "rails server".
rails server
/Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler/rubygems_ext.rb:20:in `alias_method': undefined method `dependencies' for class `Gem::Specification' (NameError)
from /Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler/rubygems_ext.rb:20:in `<class:Specification>'
from /Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler/rubygems_ext.rb:9:in `<module:Gem>'
from /Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler/rubygems_ext.rb:6:in `<top (required)>'
from /Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler.rb:4:in `require'
from /Users/ernest/.rvm/gems/ruby-1.9.1-p378/gems/bundler-0.9.8/lib/bundler.rb:4:in `<top (required)>'
from /Users/ernest/Projekty/rails3/nagrody/config/boot.rb:6:in `require'
from /Users/ernest/Projekty/rails3/nagrody/config/boot.rb:6:in `rescue in <top (required)>'
from /Users/ernest/Projekty/rails3/nagrody/config/boot.rb:2:in `<top (required)>'
from /Users/ernest/Projekty/rails3/nagrody/script/rails:9:in `require'
from /Users/ernest/Projekty/rails3/nagrody/script/rails:9:in `<main>'
Ruby version: ruby 1.9.1p378 (2010-01-10 revision 26273)
[i386-darwin10.2.0]
Gem version: 1.3.6
Instlled gems: http://pastie.org/842029
I have noticed that "rails server" works with bundler 0.9.7 but not with bundler 0.9.8, I tried to manualy install 0.9.7 but after "bundle install" I get the same error.
Comments and changes to this ticket
-
xds2000 February 25th, 2010 @ 12:47 PM
i have encounter your same problem.i comment bundler/rubygems_ext.rb:20
run rails server again.its run. -
Uwe Kitzmann February 25th, 2010 @ 02:20 PM
Try to uninstall bundler 0.9.8 with gem uninstall bundler -v 0.9.8 after installing 0.9.7
In my case, that helped
-
José Valim March 26th, 2010 @ 10:49 PM
- State changed from new to invalid
Fixed on latest bundler.
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>