1

当我尝试启动即时 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
4

1 回答 1

1

这是捆绑器的问题。

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

于 2014-03-21T10:53:30.590 回答