Ruby / Heroku"没有这样的负载"

时间:2015-02-24 18:44:54

标签: ruby-on-rails ruby heroku

我的Heroku应用程序最近在一次轻微的化妆品更改后崩溃了(只是在我的css中添加了媒体请求以便查看手机)。这导致了#34;没有这样的文件加载"错误似乎很常见,但他们似乎都有不同的解决方案,所以我会发布我的。有问题的文件是:

/app/app/assets/images/config/environment (LoadError)

这是堆栈跟踪,顶部有错误:

2015-02-24T18:23:12.318754+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require': No such file to load -- /app/app/assets/images/config/environment (LoadError)
2015-02-24T18:23:12.318769+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:348:in `require_or_load'
2015-02-24T18:23:12.312235+00:00 app[web.1]: Exiting
2015-02-24T18:23:12.318758+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
2015-02-24T18:23:12.318763+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
2015-02-24T18:23:12.318765+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `block in require'
2015-02-24T18:23:12.318766+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:232:in `load_dependency'
2015-02-24T18:23:12.318768+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:247:in `require'
2015-02-24T18:23:12.318771+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:307:in `depend_on'
2015-02-24T18:23:12.318773+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.4/lib/active_support/dependencies.rb:225:in `require_dependency'
2015-02-24T18:23:12.318775+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2015-02-24T18:23:12.318776+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `each'
2015-02-24T18:23:12.318778+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/engine.rb:467:in `block in eager_load!'
2015-02-24T18:23:12.318793+00:00 app[web.1]:    from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2015-02-24T18:23:12.318807+00:00 app[web.1]:    from /app/config.ru:3:in `block in <main>'
2015-02-24T18:23:12.318822+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2015-02-24T18:23:12.318824+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/server.rb:50:in `app'
2015-02-24T18:23:12.318829+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:81:in `block in server'
2015-02-24T18:23:12.318831+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `tap'
2015-02-24T18:23:12.318832+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:76:in `server'
2015-02-24T18:23:12.318833+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
2015-02-24T18:23:12.318835+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/commands.rb:17:in `<top (required)>'
2015-02-24T18:23:12.318836+00:00 app[web.1]:    from bin/rails:8:in `require'
2015-02-24T18:23:12.318784+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/application/finisher.rb:58:in `each'
2015-02-24T18:23:12.318790+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:55:in `block in run_initializers'
2015-02-24T18:23:12.318794+00:00 app[web.1]:    from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2015-02-24T18:23:12.318799+00:00 app[web.1]:    from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2015-02-24T18:23:12.318801+00:00 app[web.1]:    from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.4/lib/rails/initializable.rb:54:in `run_initializers'
2015-02-24T18:

目前使用rails 4.1.4,我没有对config.ru/environment.rb文件进行任何更改,并且没有对我的Gemfile进行更改。不确定发生了什么。

0 个答案:

没有答案