Using Jekyll 2.5.3 on Heroku with Github deployment. Jekyll builds fine locally on OS X, but fails on Heroku. Any ideas on how to fix this would be appreciated.
config.ru
require 'rack/jekyll'
require 'yaml'
run Rack::Jekyll.new
Gemfile
source 'https://rubygems.org'
gem 'bundler'
gem 'jekyll', '~> 2.5'
gem 'jekyll-redirect-from', '~> 0.8'
gem 'html-proofer'
gem 'rack-jekyll'
gem 'compass'
app.json
{
"name":"ninelabs.com",
"scripts":{},
"env":{
"LANG":{
"required":true
},
"RACK_ENV":{
"required":true
}
},
"addons":[]
}
Here's the log showing errors:
Note the line No such file or directory - /apple-icon-72x72.png (Errno::ENOENT)
> 2015-10-04T16:41:32.741506+00:00 heroku[web.1]: Starting process with command `bundle exec rackup config.ru -p 13959`
> 2015-10-04T16:41:37.929983+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/utils.rb:102:in `initialize': No such file or directory - /apple-icon-72x72.png (Errno::ENOENT)
> 2015-10-04T16:41:37.930023+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/utils.rb:102:in `open'
> 2015-10-04T16:41:37.930058+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/utils.rb:102:in `has_yaml_header?'
> 2015-10-04T16:41:37.930076+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:177:in `block in read_directories'
> 2015-10-04T16:41:37.930093+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:172:in `each'
> 2015-10-04T16:41:37.930109+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:172:in `read_directories'
> 2015-10-04T16:41:37.930126+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:151:in `read'
> 2015-10-04T16:41:37.930149+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/jekyll-2.5.3/lib/jekyll/site.rb:49:in `process'
> 2015-10-04T16:41:37.930174+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-jekyll-0.3.5/lib/rack/jekyll.rb:29:in `initialize'
> 2015-10-04T16:41:37.930192+00:00 app[web.1]: from /app/config.ru:3:in `new'
> 2015-10-04T16:41:37.930209+00:00 app[web.1]: from /app/config.ru:3:in `block in <main>'
> 2015-10-04T16:41:37.930225+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `instance_eval'
> 2015-10-04T16:41:37.930241+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in `initialize'
> 2015-10-04T16:41:37.930263+00:00 app[web.1]: from /app/config.ru:in `new'
> 2015-10-04T16:41:37.930288+00:00 app[web.1]: from /app/config.ru:in `<main>'
> 2015-10-04T16:41:37.930305+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `eval'
> 2015-10-04T16:41:37.930321+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in `new_from_string'
> 2015-10-04T16:41:37.930337+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in `parse_file'
> 2015-10-04T16:41:37.930354+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:299:in `build_app_and_options_from_config'
> 2015-10-04T16:41:37.930371+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:208:in `app'
> 2015-10-04T16:41:37.930400+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:336:in `wrapped_app'
> 2015-10-04T16:41:37.930417+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:272:in `start'
> 2015-10-04T16:41:37.930434+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/lib/rack/server.rb:147:in `start'
> 2015-10-04T16:41:37.930451+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.6.4/bin/rackup:4:in `<top (required)>'
> 2015-10-04T16:41:37.930468+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/rackup:23:in `load'
> 2015-10-04T16:41:37.930489+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/rackup:23:in `<main>'
> 2015-10-04T16:41:37.956751+00:00 app[web.1]: Configuration file: /app/_config.yml
> 2015-10-04T16:41:39.069543+00:00 heroku[web.1]: State changed from starting to crashed
> 2015-10-04T16:41:39.062775+00:00 heroku[web.1]: Process exited with status 1
Related
I'm trying to upgrade our applications acceptance tests to run on ruby version 3.1.2 from 2.5.3.
And getting this output when running tests through intellij:
/bin/bash -c "env RBENV_VERSION=3.1.2 /home/####/.rbenv/libexec/rbenv exec ruby -EUTF-8 /home/####/.rbenv/versions/3.1.2/bin/cucumber /home/####/git/PATH/TEST_NAME.feature --format 'Teamcity::Cucumber::Formatter' --expand --name '^VbV TEST_NAME ACCEPT$' --color -r features"
Testing started at 11:25 ...
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/profile_loader.rb:68: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/profile_loader.rb:68: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
wrong number of arguments (given 4, expected 3) (ArgumentError)
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filters/node_filter.rb:9:in `initialize'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:115:in `new'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:115:in `add_filter'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:19:in `node_filter'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector.rb:5:in `block in <top (required)>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:15:in `instance_eval'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:15:in `initialize'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:77:in `new'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector/filter_set.rb:77:in `add'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara/selector.rb:4:in `<top (required)>'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara.rb:433:in `<module:Capybara>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/capybara-3.14.0/lib/capybara.rb:9:in `<top (required)>'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
<internal:/home/####/.rbenv/versions/3.1.2/lib/ruby/3.1.0/rubygems/core_ext/kernel_require.rb>:149:in `require'
/home/####/git/PATH/support/env.rb:7:in `<top (required)>'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/glue/registry_and_more.rb:107:in `load'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/glue/registry_and_more.rb:107:in `load_code_file'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:144:in `load_file'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:85:in `block in load_files!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:84:in `each'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime/support_code.rb:84:in `load_files!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:272:in `load_step_definitions'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/runtime.rb:68:in `run!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/lib/cucumber/cli/main.rb:34:in `execute!'
/home/####/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/cucumber-3.1.2/bin/cucumber:9:in `<top (required)>'
/home/####/.rbenv/versions/3.1.2/bin/cucumber:25:in `load'
/home/####/.rbenv/versions/3.1.2/bin/cucumber:25:in `<main>'
Process finished with exit code 2
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.
When I tried to initalize with
guard --debug
the following error occured.
For a better Pry experience on Windows, please use ansicon:
http://adoxa.3eeweb.com/ansicon/
DL is deprecated, please use Fiddle
21:14:45 - INFO - You must 'gem install win32console' to use color on Windows
21:14:45 - ERROR - Could not load 'guard/livereload' or find class Guard::Livere
load
21:14:45 - ERROR - C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems
/core_ext/kernel_require.rb:126:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:126:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/ruby_http_parser.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/http_parser.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/http_parser.rb-0.5.3-
x86-mingw32/lib/http/parser.rb:1:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket/handshake.rb:1:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:15:in `block in <top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:14:in `each'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/em-websocket-0.5.0/li
b/em-websocket.rb:14:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload/websocket.rb:2:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:73:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:6:in `<class:LiveReload>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:5:in `<module:Guard>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-livereload-2.1.
2/lib/guard/livereload.rb:4:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:135:in `rescue in require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/ker
nel_require.rb:144:in `require'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/plugin_util.rb:100:in `plugin_class'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/plugin_util.rb:57:in `initialize_plugin'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
.rb:167:in `add_plugin'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:174:in `block in guard'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:173:in `each'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/dsl.rb:173:in `guard'
> [#] C:/Users/ZAW OO/Desktop/work/Guardfile:39:in `_instance_eval_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:97:in `instance_eval'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:97:in `_instance_eval_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/guardfile/evaluator.rb:37:in `evaluate_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/setuper.rb:146:in `evaluate_guardfile'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/setuper.rb:64:in `setup'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/commander.rb:24:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard
/cli.rb:107:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
command.rb:27:in `run'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
invocation.rb:126:in `invoke_command'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor.
rb:359:in `dispatch'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/lib/thor/
base.rb:440:in `start'
> [#] C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/bin/guard
:6:in `<top (required)>'
> [#] C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `load'
> [#] C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `<main>'
21:14:45 - ERROR - Invalid Guardfile, original error is:
> [#] undefined method `superclass' for nil:NilClass
C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/lib/guard/plugi
n_util.rb:57:in `initialize_plugin': undefined method `superclass' for nil:NilCl
ass (NoMethodError)
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard.rb:167:in `add_plugin'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:174:in `block in guard'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:173:in `each'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/dsl.rb:173:in `guard'
from C:/Users/ZAW OO/Desktop/work/Guardfile:39:in `_instance_eval_guardf
ile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:97:in `instance_eval'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:97:in `_instance_eval_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/guardfile/evaluator.rb:37:in `evaluate_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/setuper.rb:146:in `evaluate_guardfile'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/setuper.rb:64:in `setup'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/commander.rb:24:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/li
b/guard/cli.rb:107:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/command.rb:27:in `run'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/invocation.rb:126:in `invoke_command'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor.rb:359:in `dispatch'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/thor-0.19.1/li
b/thor/base.rb:440:in `start'
from C:/RailsInstaller/Ruby2.0.0/lib/ruby/gems/2.0.0/gems/guard-2.6.0/bi
n/guard:6:in `<top (required)>'
from C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `load'
from C:/RailsInstaller/Ruby2.0.0/bin/guard:23:in `<main>'
here is my guard file
# A sample Guardfile
# More info at https://github.com/guard/guard#readme
guard 'sass', :input => 'sass', :output => 'css'
guard 'livereload' do
watch(%r{.+\.(css|html|js)$})
end
But When I leave blank for livereload part in guardfile, It work as normal. I also tried to install Win32console but package isn't present and later I found out it doesn't need for ruby 2. I run guard under ruby 2.0.0p195 (2013-05-14) [i386-mingw32] on 64bit (Window 7).
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 .