I wrote an application for Facebook using Ruby, on a Heroku server, and everything was going well until I increased the number of dynos to 2. At this point, about half of the times I went to a new page, I would get an error message, or I would be returned to the home page, depending on what page I went to. I fixed this problem by returning to one dyno, but I still don't know what went wrong. Any ideas? The code can be found here:
https://github.com/runninggraeb/toolshed
and the program can be found here (if you're interested):
https://apps.facebook.com/toolshed
Any help would be appreciated.
All logs are pasted below. Note that the error messages started after I used dyno=web.1, then dyno=web.2.
2013-03-10T22:34:54+00:00 heroku[router]: at=info method=GET path=/auth/facebook host=toolshed.herokuapp.com fwd="24.20.19.205" dyno=web.2 queue=0 wait=7ms connect=5ms service=10ms status=302 bytes=0
2013-03-10T22:34:57+00:00 app[web.1]: 24.20.19.205 - - [10/Mar/2013 22:34:57] "GET /auth/facebook/callback?code=AQC7B6vjC0ksefFLly76DMeqL-hHrR6M49lYgMqiAk01xmF-nbXC9pOAcd_e5x8KTycXcjfXG_ABRUmsfeQlusGECbL7d4PqF-nTIVMA1GBn8hAemVCBKXy8sUspQ1eIZAxICtYeSUk9DzM8-It9-AAbi0FudCRS8PkcTaZ-8SXnNYRk2-iYKMin_fYUG2kT8LbApmaeb1RjtxXQUF8HbvAu HTTP/1.1" 302 - 0.0724
2013-03-10T22:34:57+00:00 app[web.1]: 24.20.19.205 - - [10/Mar/2013 22:34:57] "GET / HTTP/1.1" 200 6836 0.2166
2013-03-10T22:34:57+00:00 heroku[router]: at=info method=GET path=/ host=toolshed.herokuapp.com fwd="24.20.19.205" dyno=web.1 queue=0 wait=9ms connect=15ms service=235ms status=200 bytes=6836
2013-03-10T22:35:01+00:00 app[web.2]: NoMethodError - undefined method `length' for nil:NilClass:
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:708:in `block (2 levels) in route!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `catch'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:755:in `process_route'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:758:in `block in process_route'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.4.33/lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `block in invoke'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.4.33/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:268:in `block in perform_action_with_newrelic_trace'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `catch'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `block in call!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `invoke'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:808:in `instance_eval'
2013-03-10T22:35:01+00:00 app[web.2]: /app/app.rb:86:in `block in <top (required)>'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1152:in `block in compile!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `instance_eval'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `each'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:706:in `route!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:724:in `route_eval'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:843:in `dispatch!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.2/lib/rack/head.rb:9:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.4.33/lib/new_relic/agent/instrumentation/sinatra.rb:48:in `block in dispatch_with_newrelic'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.4.33/lib/new_relic/agent/instrumentation/sinatra.rb:47:in `dispatch_with_newrelic'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1303:in `synchronize'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/newrelic_rpm-3.5.4.33/lib/new_relic/agent/instrumentation/controller_instrumentation.rb:263:in `perform_action_with_newrelic_trace'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:707:in `block in route!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb:84:in `block in pre_process'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `block in call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb:82:in `catch'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.2/lib/rack/commonlogger.rb:20:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:644:in `call!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:629:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:190:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb:57:in `process'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.2/lib/rack/methodoverride.rb:24:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.2.6/lib/sinatra/base.rb:1272:in `call'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb:82:in `pre_process'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/controllers/controller.rb:86:in `start'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in `start'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb:185:in `run_command'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `load'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/server.rb:159:in `start'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.3.2/lib/rack/session/abstract/id.rb:195:in `context'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/runner.rb:151:in `run!'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/lib/thin/connection.rb:42:in `receive_data'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `<main>'
2013-03-10T22:35:01+00:00 app[web.2]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.2.11/bin/thin:6:in `<top (required)>'
2013-03-10T22:35:01+00:00 app[web.2]: 24.20.19.205 - - [10/Mar/2013 22:35:01] "GET /friends_tools.html HTTP/1.1" 500 30 0.1515
2013-03-10T22:35:01+00:00 heroku[router]: at=info method=GET path=/friends_tools.html host=toolshed.herokuapp.com fwd="24.20.19.205" dyno=web.2 queue=0 wait=0ms connect=4ms service=156ms status=500 bytes=30
The fact that the problem only crops when scaling beyond one dyno suggests that it might be a shared-state problem. I.e. user authenticates on dyno-1 and a session-id gets stored in-memory on dyno-1. Same user's next request is server by dyno-2 which has no knowledge of the session and blows up. This is pure conjecture, I've haven't inspected your code.
Alternatively, this Sinatra issue has a similar-looking error from New Relic and suggests that upgrading to a pre-release version of the New Relic problem can solve the problem.
Related
I've been using compass from http://compass-style.org/ to manage my sites css for a long time.
I have to make a small intervention on this website but the compass build command doesn't work anymore.
I'm trying to lauch the build command like this : bundle exec compass watch -e production --force --sourcemap
Here the error :
bundler: failed to load command: compass (/home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass)
/usr/lib/ruby/3.0.0/set/sorted_set.rb:4:in `rescue in <top (required)>': The `SortedSet` class has been extracted from the `set` library.You must use the `sorted_set` gem or other alternatives. (RuntimeError)
from /usr/lib/ruby/3.0.0/set/sorted_set.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `<module:ChunkyPNG>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `rescue in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
/usr/lib/ruby/3.0.0/set/sorted_set.rb:2:in `require': cannot load such file -- sorted_set (LoadError)
from /usr/lib/ruby/3.0.0/set/sorted_set.rb:2:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:13:in `<module:ChunkyPNG>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png/palette.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/chunky_png-1.3.4/lib/chunky_png.rb:150:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:4:in `rescue in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:1:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
/home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:2:in `require': cannot load such file -- oily_png (LoadError)
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines/chunky_png_engine.rb:2:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites/engines.rb:25:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions/sprites.rb:20:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass/sass_extensions.rb:9:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:14:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `each'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/lib/compass.rb:13:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `require'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:20:in `block in <top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:8:in `fallback_load_path'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/gems/compass-1.0.3/bin/compass:19:in `<top (required)>'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `load'
from /home/hedy/Sites/myproject.fr/src/vendor/bundle/ruby/3.0.0/bin/compass:23:in `<top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:63:in `kernel_load'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli/exec.rb:28:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:474:in `exec'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:30:in `dispatch'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/cli.rb:24:in `start'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:49:in `block in <top (required)>'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
from /usr/lib/ruby/gems/3.0.0/gems/bundler-2.2.23/exe/bundle:37:in `<top (required)>'
from /usr/bin/bundle:23:in `load'
from /usr/bin/bundle:23:in `<main>'
My gemfile :
source 'https://rubygems.org'
gem "sass", "~> 3.4.19"
gem "compass", "~> 1.0.3"
gem "susy", "~> 2.2.6"
gem "breakpoint", "~> 2.5.0"
gem "sugarcss", "~> 1.0.0"
How can I get this build command work again ?
This application was already working fine on Heroku. After the last
heroku run rake db:migrate
I found the following logs with errors:
2016-03-04T19:40:50.904316+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:471:in `block in eager_load!'
2016-03-04T19:40:50.904317+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `each'
2016-03-04T19:40:50.904317+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `eager_load!'
2016-03-04T19:40:50.904318+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:346:in `eager_load!'
2016-03-04T19:40:50.904319+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2016-03-04T19:40:50.904319+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `each'
2016-03-04T19:40:50.904320+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
2016-03-04T19:40:50.904321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
2016-03-04T19:40:50.904323+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2016-03-04T19:40:50.904322+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-03-04T19:40:50.904323+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-03-04T19:40:50.904321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
2016-03-04T19:40:50.904324+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-03-04T19:40:50.904327+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-03-04T19:40:50.904326+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-03-04T19:40:50.904327+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-03-04T19:40:50.904325+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each'
2016-03-04T19:40:50.904325+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `call'
2016-03-04T19:40:50.904328+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
2016-03-04T19:40:50.904329+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
2016-03-04T19:40:50.904329+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2016-03-04T19:40:50.904330+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2016-03-04T19:40:50.904331+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2016-03-04T19:40:50.904331+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2016-03-04T19:40:50.904334+00:00 app[web.1]: from /app/config.ru:in `new'
2016-03-04T19:40:50.904335+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-03-04T19:40:50.904335+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2016-03-04T19:40:50.904336+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2016-03-04T19:40:50.904337+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2016-03-04T19:40:50.904338+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2016-03-04T19:40:50.904338+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2016-03-04T19:40:50.904339+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:61:in `app'
2016-03-04T19:40:50.904339+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2016-03-04T19:40:50.904340+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2016-03-04T19:40:50.904341+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:80:in `start'
2016-03-04T19:40:50.904342+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2016-03-04T19:40:50.904342+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `tap'
2016-03-04T19:40:50.904346+00:00 app[web.1]: from bin/rails:8:in `require'
2016-03-04T19:40:50.904343+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `server'
2016-03-04T19:40:50.904346+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
2016-03-04T19:40:50.904344+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2016-03-04T19:40:50.904347+00:00 app[web.1]: from bin/rails:8:in `<main>'
2016-03-04T19:40:51.575383+00:00 heroku[web.1]: Process exited with status 1
2016-03-04T19:40:51.615222+00:00 heroku[web.1]: State changed from starting to crashed
2016-03-04T19:41:25+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.05 sample#load-avg-5m=0.09 sample#load-avg-15m=0.11 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797896.0kB sample#memory-cached=519196kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:42:25+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.02 sample#load-avg-5m=0.075 sample#load-avg-15m=0.1 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13798020.0kB sample#memory-cached=519196kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:43:29+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.04 sample#load-avg-5m=0.075 sample#load-avg-15m=0.1 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797656.0kB sample#memory-cached=519200kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:44:30+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.105 sample#load-avg-5m=0.085 sample#load-avg-15m=0.105 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797688.0kB sample#memory-cached=519200kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:45:46+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.09 sample#load-avg-5m=0.085 sample#load-avg-15m=0.105 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797928.0kB sample#memory-cached=519200kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:46:31+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.035 sample#load-avg-5m=0.07 sample#load-avg-15m=0.095 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797796.0kB sample#memory-cached=519200kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:47:33+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.01 sample#load-avg-5m=0.055 sample#load-avg-15m=0.09 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797980.0kB sample#memory-cached=519204kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:48:35+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.02 sample#load-avg-5m=0.055 sample#load-avg-15m=0.09 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13798144.0kB sample#memory-cached=519204kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:49:23+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.045 sample#load-avg-5m=0.055 sample#load-avg-15m=0.09 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13798260.0kB sample#memory-cached=519204kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:50:25+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.015 sample#load-avg-5m=0.045 sample#load-avg-15m=0.08 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13797936.0kB sample#memory-cached=519204kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:51:31.568822+00:00 heroku[worker.1]: State changed from crashed to starting
2016-03-04T19:51:36.943055+00:00 heroku[worker.1]: Starting process with command `bundle exec rake jobs:work`
2016-03-04T19:51:37.500878+00:00 heroku[worker.1]: State changed from starting to up
2016-03-04T19:51:40+00:00 app[heroku-redis]: source=REDIS sample#active-connections=1 sample#load-avg-1m=0.17 sample#load-avg-5m=0.08 sample#load-avg-15m=0.09 sample#read-iops=0 sample#write-iops=0 sample#memory-total=15405632.0kB sample#memory-free=13798928.0kB sample#memory-cached=519208kB sample#memory-redis=328496bytes sample#hit-rate=0.93242 sample#evicted-keys=0
2016-03-04T19:51:41.578717+00:00 app[worker.1]: rake aborted!
2016-03-04T19:51:41.578736+00:00 app[worker.1]: Don't know how to build task 'jobs:work'
2016-03-04T19:51:41.578969+00:00 app[worker.1]:
2016-03-04T19:51:41.578997+00:00 app[worker.1]: (See full trace by running task with --trace)
2016-03-04T19:51:42.166907+00:00 heroku[worker.1]: Process exited with status 1
2016-03-04T19:51:42.176706+00:00 heroku[worker.1]: State changed from up to crashed
And then I tried:
git push heroku master
After that my application suddenly doesn't work in my production environment (heroku) and I'm not able to simulate it in my local environment.
I'm getting the following error-logs for pushing the git:
2016-03-04T19:18:22.489968+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
2016-03-04T19:18:22.489969+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:471:in `each'
2016-03-04T19:18:22.489970+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:471:in `block in eager_load!'
2016-03-04T19:18:22.489971+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `each'
2016-03-04T19:18:22.489971+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `eager_load!'
2016-03-04T19:18:22.489972+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:346:in `eager_load!'
2016-03-04T19:18:22.489975+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `each'
2016-03-04T19:18:22.489976+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2016-03-04T19:18:22.489976+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
2016-03-04T19:18:22.489977+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
2016-03-04T19:18:22.489977+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
2016-03-04T19:18:22.489978+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-03-04T19:18:22.489982+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each'
2016-03-04T19:18:22.489983+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `call'
2016-03-04T19:18:22.489979+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-03-04T19:18:22.489979+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2016-03-04T19:18:22.489980+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-03-04T19:18:22.489983+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-03-04T19:18:22.489987+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
2016-03-04T19:18:22.489985+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-03-04T19:18:22.489985+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-03-04T19:18:22.490001+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
2016-03-04T19:18:22.490002+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2016-03-04T19:18:22.490004+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2016-03-04T19:18:22.490005+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2016-03-04T19:18:22.490026+00:00 app[web.1]: from /app/config.ru:in `new'
2016-03-04T19:18:22.490006+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2016-03-04T19:18:22.490027+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-03-04T19:18:22.490027+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2016-03-04T19:18:22.490029+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2016-03-04T19:18:22.490030+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2016-03-04T19:18:22.490032+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2016-03-04T19:18:22.490048+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2016-03-04T19:18:22.490049+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:61:in `app'
2016-03-04T19:18:22.490050+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2016-03-04T19:18:22.490052+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2016-03-04T19:18:22.490053+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:80:in `start'
2016-03-04T19:18:22.490151+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2016-03-04T19:18:22.490160+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `tap'
2016-03-04T19:18:22.490161+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `server'
2016-03-04T19:18:22.490161+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2016-03-04T19:18:22.490162+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
2016-03-04T19:18:22.490162+00:00 app[web.1]: from bin/rails:8:in `require'
2016-03-04T19:18:22.490163+00:00 app[web.1]: from bin/rails:8:in `<main>'
2016-03-04T19:18:23.173071+00:00 heroku[web.1]: State changed from starting to crashed
2016-03-04T19:18:23.174500+00:00 heroku[web.1]: State changed from crashed to starting
2016-03-04T19:18:23.126163+00:00 heroku[web.1]: Process exited with status 1
2016-03-04T19:18:28.828072+00:00 heroku[web.1]: Starting process with command `bin/rails server -p 33437 -e production`
2016-03-04T19:18:35.409674+00:00 app[web.1]: => Booting WEBrick
2016-03-04T19:18:35.409713+00:00 app[web.1]: => Rails 4.2.0 application starting in production on http://0.0.0.0:33437
2016-03-04T19:18:35.409714+00:00 app[web.1]: => Run `rails server -h` for more startup options
2016-03-04T19:18:35.409715+00:00 app[web.1]: => Ctrl-C to shutdown server
2016-03-04T19:18:35.409720+00:00 app[web.1]: Exiting
2016-03-04T19:18:35.409736+00:00 app[web.1]: /app/app/controllers/Users/invitations_controller.rb:1:in `<top (required)>': uninitialized constant Users (NameError)
2016-03-04T19:18:35.409737+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:472:in `block (2 levels) in eager_load!'
2016-03-04T19:18:35.409737+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:471:in `each'
2016-03-04T19:18:35.409738+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:471:in `block in eager_load!'
2016-03-04T19:18:35.409739+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `each'
2016-03-04T19:18:35.409739+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:469:in `eager_load!'
2016-03-04T19:18:35.409740+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/engine.rb:346:in `eager_load!'
2016-03-04T19:18:35.409742+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `instance_exec'
2016-03-04T19:18:35.409741+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
2016-03-04T19:18:35.409741+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application/finisher.rb:56:in `each'
2016-03-04T19:18:35.409743+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:30:in `run'
2016-03-04T19:18:35.409745+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
2016-03-04T19:18:35.409744+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
2016-03-04T19:18:35.409744+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
2016-03-04T19:18:35.409746+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each'
2016-03-04T19:18:35.409743+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:55:in `block in run_initializers'
2016-03-04T19:18:35.409747+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `call'
2016-03-04T19:18:35.409751+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
2016-03-04T19:18:35.409750+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/application.rb:352:in `initialize!'
2016-03-04T19:18:35.409748+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
2016-03-04T19:18:35.409755+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
2016-03-04T19:18:35.409751+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
2016-03-04T19:18:35.409750+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2016-03-04T19:18:35.409756+00:00 app[web.1]: from /app/config.ru:in `new'
2016-03-04T19:18:35.409756+00:00 app[web.1]: from /app/config.ru:in `<main>'
2016-03-04T19:18:35.409758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
2016-03-04T19:18:35.409745+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
2016-03-04T19:18:35.409747+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
2016-03-04T19:18:35.409748+00:00 app[web.1]: from /app/vendor/ruby-2.2.1/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
2016-03-04T19:18:35.409762+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:80:in `start'
2016-03-04T19:18:35.409749+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/initializable.rb:54:in `run_initializers'
2016-03-04T19:18:35.409767+00:00 app[web.1]: from bin/rails:8:in `require'
2016-03-04T19:18:35.409761+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
2016-03-04T19:18:35.409768+00:00 app[web.1]: from bin/rails:8:in `<main>'
2016-03-04T19:18:35.409758+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
2016-03-04T19:18:35.409759+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
2016-03-04T19:18:35.409761+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
2016-03-04T19:18:35.409762+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:80:in `block in server'
2016-03-04T19:18:35.409763+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `tap'
2016-03-04T19:18:35.409766+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:75:in `server'
2016-03-04T19:18:35.409767+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands.rb:17:in `<top (required)>'
2016-03-04T19:18:35.409759+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
2016-03-04T19:18:35.409760+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/server.rb:61:in `app'
2016-03-04T19:18:35.409757+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
2016-03-04T19:18:35.409766+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.0/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
2016-03-04T19:18:36.172209+00:00 heroku[web.1]: State changed from starting to crashed
2016-03-04T19:18:36.156974+00:00 heroku[web.1]: Process exited with status 1
The last thing that I've done is installing and implementing the Devise_invitable Gem (next to my already implemented Devise Gem).
Does anyone see what's going wrong?
This happens in prod but not dev because dev lazy-loads classes, and prod loads them all up front. But it gets an error loading this file:
app/controllers/Users/invitations_controller.rb
It looks like the first line is doing something with the Users class. The path to that file is suspicious as well. Usually in Rails you don't capitalize directories like you've done with Users/invitations_controller.rb.
Since the error is on line 1, I'm guessing you have this:
class Users::InvitationsController
...
end
I think renaming the directory to lowercase users will fix your problem.
Note that this has nothing to do with running migrations. In fact I doubt your migration succeeded, so once you fix this problem and push the fix to Heroku, you should try running it again.
I'm using Vagrant with librarian-chef-nochef plugin on Windows host. It works fine until I add a cookbook with "git" option to my Cheffile. Like this:
# Cheffile
site "http://community.opscode.com/api/v1"
cookbook "apt"
cookbook "nginx"
cookbook "nodejs", :github => "redguide/nodejs"
Then I get a strange error about missing README.md file:
C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval': No such file or directory - ./README.md (Errno::ENOENT)
My configuration:
Windows 7 x64
Vagrant 1.5.4 with librarian-chef-nochef plugin
Here is the full report:
> vagrant provision
==> default: Installing Chef cookbooks with Librarian-Chef...
C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval': No such file or directory - ./README.md (Errno::ENOENT)
from (eval):6:in `initialize'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `instance_eval'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/metadata.rb:15:in `initialize'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:28:in `new'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:28:in `compile_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/manifest_reader.rb:23:in `read_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:57:in `fetch_manifest_data'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:49:in `manifest_data'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-chef-nochef-0.1.0/lib/librarian/chef/source/local.rb:28:in `fetch_version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:121:in `fetch_version!'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:113:in `fetched_version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:59:in `version'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/manifest.rb:97:in `satisfies?'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/dependency.rb:121:in `satisfied_by?'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:103:in `block in check_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:104:in `check_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:63:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:70:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:70:in `block inrecursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:154:in `block (3 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:187:in `block in scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:186:in `scope_checking_manifest'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:153:in `block (2 levels) in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:211:in `block in map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `each'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:210:in `map_find'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:152:in `block in resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:165:in `block (2 levels) in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:179:in `block in scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:178:in `scope_checking_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:164:in `block in scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:223:in `scope'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:163:in `scope_resolving_dependency'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:151:in `resolving_dependency_map_find_manifests'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:62:in `recursive_resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver/implementation.rb:50:in `resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/resolver.rb:23:in `resolve'
from C:/Users/silentvick/.vagrant.d/gems/gems/librarian-0.1.2/lib/librarian/action/resolve.rb:26:in `run'
from C:/Users/silentvick/.vagrant.d/gems/gems/vagrant-librarian-chef-nochef-0.1.1/lib/vagrant-librarian-chef/action/librarian_chef.rb:24:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Users/silentvick/.vagrant.d/gems/gems/vagrant-cachier-0.7.1/lib/vagrant-cachier/action/configure_bucket_root.rb:20:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/action/check_accessible.rb:18:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:95:in `block in finalize_action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/call.rb:51:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builtin/config_validate.rb:25:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/providers/virtualbox/action/check_virtualbox.rb:17:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/warden.rb:34:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/builder.rb:116:in `call'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `block in run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/util/busy.rb:19:in `busy'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/action/runner.rb:69:in `run'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/machine.rb:157:in `action'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/provision/command.rb:35:in `block in execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:200:in `block in with_target_vms'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:194:in `each'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/plugin/v2/command.rb:194:in `with_target_vms'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/plugins/commands/provision/command.rb:34:in `execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/cli.rb:42:in `execute'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/lib/vagrant/environment.rb:248:in `cli'
from C:/Program Files (x86)/Vagrant/embedded/gems/gems/vagrant-1.5.4/bin/vagrant:164:in `<main>'
if the metadata.rb file require readme file (long_description IO.read(File.join(File.dirname(FILE), 'README.md')) some thing like this) you can create a readme file in the same directory with metadata with something as file content
The problem was fixed in next version of vagrant-librarian-chef-nochef plugin (0.1.2)
I have an application running on Heroku, sometimes this error appear :
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `block in call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1416:in `synchronize'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/sinatra- 1.3.2/lib/sinatra/base.rb:1334:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:80:in `block in pre_process'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `catch'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:78:in `pre_process'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:53:in `process'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/connection.rb:38:in `receive_data'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/backends/base.rb:63:in `start'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/server.rb:159:in `start'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/controllers/controller.rb:86:in `start'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:185:in `run_command'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/lib/thin/runner.rb:151:in `run!'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/thin-1.4.1/bin/thin:6:in `<top (required)>'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `load'
2012-10-03T17:01:32+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `<main>'
So what can I do ? ...
Edit : add gemfile
source :rubygems
# use Heroku Toolbelt instead
# gem "heroku"
# sinatra main library
gem "sinatra"
# sinatra plugin for localization
gem "sinatra-r18n"
gem "resolv-ipv6favor"
# Json
gem "json"
# rack middleware csrf protection
gem "rack_csrf"
# database handler | orm
gem "pg"
gem "sequel"
gem "sequel_sluggable"
gem "unicode_utils"
gem "sanitize"
gem "fog"
gem "mail"
gem "thin"
# Full system log
gem 'remote_syslog_logger'
group :development do
gem "awesome_print"
gem "sinatra-reloader"
gem "sqlite3"
end
help would be much appreciated. for some reason, my push to heroku does not work even though my local version is working fine.
i'm deploying a rails app.
after a git push heroku, and heroku run rake db:migrate i get an application error on my website.
EDIT i put up the entire back trace
2012-03-13T20:49:20+00:00 app[web.1]: from
/app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-03-13T20:49:20+00:00 app[web.1]: from script/rails:6:in `require'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
2012-03-13T20:49:20+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
2012-03-13T20:49:20+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-03-13T20:49:21+00:00 heroku[web.1]: Process exited with status 1
2012-03-13T20:49:21+00:00 heroku[web.1]: State changed from starting to crashed
2012-03-13T21:01:36+00:00 heroku[router]: Error H10 (App crashed) -> GET strong-sunrise-8468.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
2012-03-13T21:03:43+00:00 heroku[web.1]: State changed from crashed to created
2012-03-13T21:03:43+00:00 heroku[web.1]: State changed from created to starting
2012-03-13T21:03:47+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 43183`
2012-03-13T21:03:50+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-03-13T21:03:50+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
2012-03-13T21:03:53+00:00 app[web.1]: => Booting WEBrick
2012-03-13T21:03:53+00:00 app[web.1]: => Rails 3.2.1 application starting in production on http://0.0.0.0:43183
2012-03-13T21:03:53+00:00 app[web.1]: => Call with -d to detach
2012-03-13T21:03:53+00:00 app[web.1]: => Ctrl-C to sh
2012-03-13T21:03:53+00:00 app[web.1]: Exiting
2012-03-13T21:03:53+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.1.rc.7/lib/bundler/rubygems_integration.rb:147:in `block in replace_gem': bcrypt-ruby is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activemodel-3.2.1/lib/active_model/secure_password.rb:37:in `has_secure_password'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/app/models/user.rb:14:in `<class:User>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/app/models/user.rb:12:in `<top (required)>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:359:in `require_or_load'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:502:in `load_missing_constant'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:192:in `block in const_missing'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:190:in `each'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb:228:in `each'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:190:in `const_missing'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb:228:in `constantize'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb:229:in `block in constantize'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/inflector/methods.rb:259:in `safe_constantize'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/core_ext/string/inflections.rb:66:in `safe_constantize'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb:152:in `_default_wrap_model'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb:169:in `_set_wrapper_defaults'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/metal/params_wrapper.rb:133:in `inherited'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/abstract_controller/railties/routes_helpers.rb:7:in `block (2 levels) in with'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/app/controllers/users_controller.rb:1:in `<top (required)>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.1/lib/action_controller/railties/paths.rb:7:in `block (2 levels) in with'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `block in require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:251:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:236:in `load_dependency'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:359:in `require_or_load'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:313:in `depend_on'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.1/lib/active_support/dependencies.rb:225:in `require_dependency'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:439:in `block (2 levels) in eager_load!'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:438:in `each'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:438:in `block in eager_load!'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:436:in `each'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/engine.rb:436:in `eager_load!'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/application/finisher.rb:53:in `block in <module:Finisher>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `instance_exec'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:30:in `run'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `each'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/initializable.rb:54:in `run_initializers'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/application.rb:136:in `initialize!'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/config.ru:4:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/config.ru:4:in `block in <main>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/config.ru:1:in `new'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/config.ru:1:in `<main>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `eval'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/builder.rb:40:in `parse_file'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:200:in `app'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:46:in `app'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:301:in `wrapped_app'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/server.rb:252:in `start'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands/server.rb:70:in `start'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:55:in `block in <top (required)>'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `tap'
2012-03-13T21:03:53+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.1/lib/rails/commands.rb:50:in `<top (required)>'
2012-03-13T21:03:53+00:00 app[web.1]: from script/rails:6:in `require'
2012-03-13T21:03:53+00:00 app[web.1]: from script/rails:6:in `<main>'
2012-03-13T21:03:54+00:00 heroku[web.1]: Process exited with status 1
2012-03-13T21:03:54+00:00 heroku[web.1]: State changed from starting to crashed
2012-03-13T21:04:38+00:00 heroku[run.1]: State changed from created to starting
2012-03-13T21:04:44+00:00 app[run.1]: Awaiting client
2012-03-13T21:04:45+00:00 heroku[run.1]: Process exited with status 0
2012-03-13T21:04:45+00:00 heroku[run.1]: State changed from starting to complete
2012-03-13T21:04:52+00:00 heroku[run.1]: State changed from created to starting
2012-03-13T21:04:58+00:00 app[run.1]: Awaiting client
2012-03-13T21:04:58+00:00 app[run.1]: Starting process with command `bundle exec rake db:migrate`
2012-03-13T21:04:59+00:00 heroku[run.1]: State changed from starting to up
2012-03-13T21:05:04+00:00 heroku[run.1]: Process exited with status 0
2012-03-13T21:05:04+00:00 heroku[run.1]: State changed from up to complete
2012-03-13T21:05:21+00:00 heroku[router]: Error H10 (App crashed) -> GET strong-sunrise-8468.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
i notice there are deprecation warnings, but im following the michael hartl book for beginners learning rails and he said to ignore them.
i did
heroku stack
and i am on the cedar stack as well
inside the environment.rb, the contents are...
1. # Load the rails application
2. require File.expand_path('../application', __FILE__)
3.
4. # Initialize the rails application
5. SampleApp::Application.initialize!
Add this gem to Gemfile
gem 'bcrypt-ruby', '~> 3.0.0'
probably your gem is using it on your local gems.
And don't forget to git add .