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.

Cant start rails server - rails3

#4051

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.

Reported by Ernest Bursa · February 25th, 2010 @ 10:18 AM

State: invalid
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. xds2000
    xds2000

    i have encounter your same problem.i comment bundler/rubygems_ext.rb:20
    run rails server again.its run.

    February 25th, 2010 @ 12:47 PM

  2. Uwe Kitzmann
    Uwe Kitzmann

    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

    February 25th, 2010 @ 02:20 PM

  3. José Valim
    José Valim
    • State changed from new to invalid

    Fixed on latest bundler.

    March 26th, 2010 @ 10:49 PM

  4. bingbing