启动rails控制台时出错

时间:2013-01-22 05:15:38

标签: ruby-on-rails ruby

当我尝试启动即时rails控制台时出现以下错误 之前工作正常,现在我收到了这个错误:

C:\InstantRails\rails_apps\shovell>ruby script/console
Loading development environment (Rails 2.0.2)
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such file to load -- application (MissingSourceFile)
    from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/console_with_helpers.rb:19
    from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'
    from C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:342:in `new_constants_in'
    from C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-2.0.2/lib/active_support/dependencies.rb:496:in `require'
    from C:/InstantRails/ruby/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
    from C:/InstantRails/ruby/lib/ruby/1.8/irb/init.rb:250:in `each'
    from C:/InstantRails/ruby/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
    from C:/InstantRails/ruby/lib/ruby/1.8/irb/init.rb:21:in `setup'
    from C:/InstantRails/ruby/lib/ruby/1.8/irb.rb:54:in `start'
    from C:/InstantRails/ruby/bin/irb:13

1 个答案:

答案 0 :(得分:1)

捆绑包是个问题。

我所做的就是再次安装Bundle,它现在与我完美配合。