0
/home/vinay/mynewapp/vendor/rails/railties/lib/rails/gem_dependency.rb:21:in `add_frozen_gem_path': undefined method `source_index' for Gem:Module (NoMethodError)
    from /home/vinay/mynewapp/config/boot.rb:47:in `load_initializer'
    from /home/vinay/mynewapp/config/boot.rb:38:in `run'
    from /home/vinay/mynewapp/config/boot.rb:11:in `boot!'
    from /home/vinay/mynewapp/config/boot.rb:114:in `<top (required)>'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
    from /usr/local/lib/site_ruby/1.9.1/rubygems/core_ext/kernel_require.rb:45:in `require'
    from script/server:2:in `<main>'
4

1 回答 1

0

你试过rails server了吗?

较短的版本:rails s甚至r s

于 2013-04-17T18:43:23.643 回答