heroku sinatra app crashes, error h10 - ruby

I am new to heroku and sinatra, but I have my app running locally just fine with sinatra and sqlite3. I know heroku doesn't support sqlite3, so I tried this answer: Deploy RoR to Heroku and Sqlite3 fails
When I pushed to heroku and tried to access it, I got an error. So I checked the logs. This is what I am seeing. I saw others on here with the same issue, but the resolutions have all been varied and I have tried restarting heroku:
2013-08-15T05:07:17+00:00 heroku[slug-compiler]: Slug compilation finished
2013-08-15T05:07:21.550961+00:00 heroku[web.1]: Starting process with command `bundle exec rackup config.ru -p 28820`
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-activerecord-1.2.3/lib/sinatra/activerecord.rb:23:in `database'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/app.rb:7:in `<top (required)>'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-activerecord-1.2.3/lib/sinatra/activerecord.rb:17:in `database='
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/config.ru:2:in `block in <main>'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_handling.rb:39:in `establish_connection'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/config.ru:in `<main>'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/bin/rackup:4:in `<top (required)>'
2013-08-15T05:07:25.339194+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specification.rb:46:in `resolve_string_connection'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/config.ru:in `new'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/rackup:23:in `load'
2013-08-15T05:07:25.339194+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specification.rb:32:in `spec'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2013-08-15T05:07:25.339079+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specification.rb:58:in `rescue in resolve_hash_connection': Specified 'sqlite3' for database adapter, but the gem is not loaded. Add `gem 'sqlite3'` to your Gemfile. (Gem::LoadError)
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1191:in `set'
2013-08-15T05:07:25.339079+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/connection_adapters/connection_specification.rb:55:in `resolve_hash_connection'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/sinatra-1.4.3/lib/sinatra/base.rb:1917:in `block (2 levels) in delegate'
2013-08-15T05:07:25.339488+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2013-08-15T05:07:25.339314+00:00 app[web.1]: from /app/config.ru:2:in `require'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:141:in `start'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/rackup:23:in `<main>'
2013-08-15T05:07:25.339770+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/rack-1.5.2/lib/rack/server.rb:250:in `start'
2013-08-15T05:07:27.328918+00:00 heroku[web.1]: Process exited with status 1
2013-08-15T05:07:27.341978+00:00 heroku[web.1]: State changed from starting to crashed
2013-08-15T05:07:28.551518+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/ host=intense-depths-3455.herokuapp.com fwd="70.179.10.147" dyno= connect= service= status=503 bytes=
2013-08-15T05:07:29.149180+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path=/favicon.ico host=intense-depths-3455.herokuapp.com fwd="70.179.10.147" dyno= connect= service= status=503 bytes=
any ideas on how I can get this to work?
my config ru is:
#config.ru
require "./app"
run Sinatra::Application
and my gemfile is:
source 'https://rubygems.org'
gem "sinatra"
gem "activerecord"
gem "sinatra-activerecord"
gem "pony"
group :development do
gem "shotgun"
gem "tux"
gem "sqlite3", "~> 1.3.7", :require => "sqlite3"
end

I was able to get it to work by adding a line to use postgresql in production.

Related

Trouble with Deployment of a Rails App to Heroku

More specifically, I am getting an H10 error when pulling up heroku logs, “No such file to load — pry (LoadError)” when running the rails console on Heroku.
The Rails app runs fine on localhost. I've scoured all of my application's files to remove references to "require 'pry'", and any calls to "binding.pry". The pry-rails and pry-nav gems should not be running in production on Heroku. I've rerun bundle install, reset my databases both locally and on Heroku, ensured my code was pushed up after these adjustments, and have reset the dynos on Heroku.
What gives?
heroku logs
2016-05-02T21:45:04.892586+00:00 heroku[router]: at=error code=H10
desc="App crashed" method=GET path="/" host=chess-workout-andrew-smith.herokuapp.com request_id=f05db461-e4ef-48e4-b920-6b5163fa0ea2 fwd="69.156.77.15" dyno= connect= service= status=503 bytes=
2016-05-02T21:45:05.175027+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=chess-workout-andrew-smith.herokuapp.com request_id=fdbd387c-63fa-49e7-8d2c-e94f36558356 fwd="69.156.77.15" dyno= connect= service= status=503 bytes=
heroku run rails c
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require': No such file to load -- pry (LoadError)
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/values/time_zone.rb:282: warning: circular argument reference - now
/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require': No such file to load -- pry (LoadError)
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
from /app/app/controllers/pieces_controller.rb:1:in `<top (required)>'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:330:in `require_or_load'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:289:in `depend_on'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:207:in `require_dependency'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:465:in `block (2 levels) in eager_load!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:464:in `each'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:464:in `block in eager_load!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:462:in `each'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:462:in `eager_load!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/engine.rb:347:in `eager_load!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `each'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/application/finisher.rb:56:in `block in <module:Finisher>'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `instance_exec'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/initializable.rb:30:in `run'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/initializable.rb:55:in `block in run_initializers'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /app/vendor/ruby-2.2.4/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/initializable.rb:54:in `run_initializers'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/application.rb:215:in `initialize!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /app/config/environment.rb:5:in `<top (required)>'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `block in require'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:214:in `load_dependency'
from /app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.0.1/lib/active_support/dependencies.rb:229:in `require'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/application.rb:189:in `require_environment!'
from /app/vendor/bundle/ruby/2.2.0/gems/railties-4.0.1/lib/rails/commands.rb:61:in `<top (required)>'
from /app/bin/rails:4:in `require'
from /app/bin/rails:4:in `<main>'
Gemfile:
source 'https://rubygems.org'
gem 'simple_form'
gem 'rails', '4.0.1'
gem 'pg'
gem 'sass-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'rails_12factor', group: :production
gem 'jquery-rails'
gem 'turbolinks'
gem 'jbuilder', '~> 1.2'
gem 'pry-rails', :group => :development
gem 'pry-nav', :group => :development
gem 'awesome_print', :group => :development
group :development, :test do
gem 'rspec-rails', '~> 3.0'
end
group :doc do
gem 'sdoc', require: false
end
gem 'bootstrap-sass', '~> 3.3.4.1'
gem 'sprockets', '<= 2.11.0'
gem "devise"
gem "factory_girl_rails", "~> 4.0"
database.yml
development:
adapter: postgresql
encoding: unicode
database: chess_workout_development
pool: 5
username: postgres
password: password
host: localhost
test:
adapter: postgresql
encoding: unicode
database: chess_workout_test
pool: 5
username: postgres
password: password
host: localhost
production:
adapter: postgresql
encoding: unicode
database: chess_workout_production
pool: 5
username: postgres
password: password
host: localhost
The error log from heroku run rails console said that there is no pry. In Gemfile, pry was only for develop environment even though I am pretty sure that require 'pry' was set in controller file so that heroku is confused.
You can remove pry from :group => :development in Gemfile, and do not forget to heroku run bundle install.

spree_product_assembly crashes in production

I'm setting up a Spree Commerce site. I am running 2-4-Stable, as many of the extensions I need will not work on 3-0-Stable. I set up the site with everything but product_assembly and it works perfect. Add it and it runs fine on my nitriou.io box, push it to heroku and everything dies.
heroku log --tail
2015-09-10T02:50:47.477434+00:00 heroku[web.1]: State changed from crashed to starting
2015-09-10T02:50:52.594597+00:00 heroku[web.1]: Starting process with command `bundle exec puma -t 5:5 -p ${PORT:-3000} -e ${RACK_ENV:-development}`
2015-09-10T02:50:55.340137+00:00 app[web.1]: Puma starting in single mode...
2015-09-10T02:50:55.340170+00:00 app[web.1]: * Version 2.13.4 (ruby 2.0.0-p645), codename: A Midsummer Code's Dream
2015-09-10T02:50:55.340172+00:00 app[web.1]: * Min threads: 5, max threads: 5
2015-09-10T02:50:55.340174+00:00 app[web.1]: * Environment: production
2015-09-10T02:51:04.290579+00:00 app[web.1]: /app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_shipment_ser
ializer.rb:3:in `<module:Wombat>': uninitialized constant Spree::Wombat::ShipmentSerializer (NameError)
2015-09-10T02:51:04.290582+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_ship
ment_serializer.rb:2:in `<module:Spree>'
2015-09-10T02:51:04.290584+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_ship
ment_serializer.rb:1:in `<top (required)>'
2015-09-10T02:51:04.290585+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
2015-09-10T02:51:04.290588+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
2015-09-10T02:51:04.290590+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
2015-09-10T02:51:04.290591+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:467:in `each'
2015-09-10T02:51:04.290592+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:467:in `block in eager_load!'
2015-09-10T02:51:04.290595+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:465:in `each'
2015-09-10T02:51:04.290597+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:465:in `eager_load!'
2015-09-10T02:51:04.290598+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:346:in `eager_load!'
2015-09-10T02:51:04.290601+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application/finisher.rb:58:in `each'
2015-09-10T02:51:04.290602+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
2015-09-10T02:51:04.290605+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `instance_exec'
2015-09-10T02:51:04.290608+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `run'
2015-09-10T02:51:04.289678+00:00 app[web.1]: ! Unable to load application: NameError: uninitialized constant Spree::Wombat::ShipmentSerializer
2015-09-10T02:51:04.290611+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:55:in `block in run_initializers'
2015-09-10T02:51:04.290612+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
2015-09-10T02:51:04.290613+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
2015-09-10T02:51:04.290617+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
2015-09-10T02:51:04.290618+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
2015-09-10T02:51:04.290621+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
2015-09-10T02:51:04.290622+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
2015-09-10T02:51:04.290625+00:00 app[web.1]: from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
2015-09-10T02:51:04.290628+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:54:in `run_initializers'
2015-09-10T02:51:04.290632+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application.rb:300:in `initialize!'
2015-09-10T02:51:04.290633+00:00 app[web.1]: from /app/config/environment.rb:5:in `<top (required)>'
2015-09-10T02:51:04.290636+00:00 app[web.1]: from config.ru:3:in `require'
2015-09-10T02:51:04.290639+00:00 app[web.1]: from config.ru:3:in `block in <main>'
2015-09-10T02:51:04.290642+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/rack/builder.rb:184:in `instance_eval'
2015-09-10T02:51:04.290643+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/rack/builder.rb:184:in `initialize'
2015-09-10T02:51:04.290646+00:00 app[web.1]: from config.ru:in `new'
2015-09-10T02:51:04.290649+00:00 app[web.1]: from config.ru:in `<main>'
2015-09-10T02:51:04.290650+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/rack/builder.rb:170:in `eval'
2015-09-10T02:51:04.290653+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/rack/builder.rb:170:in `new_from_string'
2015-09-10T02:51:04.290656+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/rack/builder.rb:161:in `parse_file'
2015-09-10T02:51:04.290657+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/configuration.rb:129:in `load_rackup'
2015-09-10T02:51:04.290660+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/configuration.rb:96:in `app'
2015-09-10T02:51:04.290663+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/runner.rb:113:in `load_and_bind'
2015-09-10T02:51:04.290664+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/single.rb:79:in `run'
2015-09-10T02:51:04.290667+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/lib/puma/cli.rb:215:in `run'
2015-09-10T02:51:04.290670+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/gems/puma-2.13.4/bin/puma:10:in `<top (required)>'
2015-09-10T02:51:04.290673+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/puma:23:in `load'
2015-09-10T02:51:04.290674+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.0.0/bin/puma:23:in `<main>'
2015-09-10T02:51:05.232991+00:00 heroku[web.1]: State changed from starting to crashed
2015-09-10T02:51:05.222998+00:00 heroku[web.1]: Process exited with status 1
2015-09-10T02:52:34.037523+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=shop-bedepraved.herokuapp.com request_id=dad14f43-4299-4ad3-867
8-d8459f39e5f7 fwd="75.63.145.154" dyno= connect= service= status=503 bytes=
2015-09-10T02:52:36.899552+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=shop-bedepraved.herokuapp.com request_id=bfa45de4-4e
27-43a1-ad9d-17966e1394a3 fwd="75.63.145.154" dyno= connect= service= status=503 bytes=
heroku console
Running `console` attached to terminal... up, run.6655
/app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_shipment_serializer.rb:3:in `<module:Wombat>': uninitiali
zed constant Spree::Wombat::ShipmentSerializer (NameError)
from /app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_shipment_serializer.rb:2:in `<module:Spree>'
from /app/vendor/bundle/ruby/2.0.0/bundler/gems/spree-product-assembly-a932f58d19f2/app/serializers/spree/wombat/assembly_shipment_serializer.rb:1:in `<top (required)
>'
from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:468:in `block (2 levels) in eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:467:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:467:in `block in eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:465:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:465:in `eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/engine.rb:346:in `eager_load!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application/finisher.rb:58:in `each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application/finisher.rb:58:in `block in <module:Finisher>'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `instance_exec'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:30:in `run'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:55:in `block in run_initializers'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/initializable.rb:54:in `run_initializers'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application.rb:300:in `initialize!'
from /app/config/environment.rb:5:in `<top (required)>'
from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/application.rb:276:in `require_environment!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/commands/commands_tasks.rb:147:in `require_application_and_environment!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/commands/commands_tasks.rb:68:in `console'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /app/vendor/bundle/ruby/2.0.0/gems/railties-4.1.11/lib/rails/commands.rb:17:in `<top (required)>'
from bin/rails:8:in `require'
from bin/rails:8:in `<main>'
Gemfile
source 'https://rubygems.org'
gem 'spree', github: 'spree/spree', branch: '2-4-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '2-4-stable'
gem "figaro"
# Fix for Taxon issue not displaying selected taxons
gem 'select2-rails'
gem 'spree_reffiliate'
gem 'rails_12factor', group: :production
gem 'spree_bootstrap_frontend', github: '200Creative/spree_bootstrap_frontend', branch: 'master'
gem 'spree_product_assembly', github: 'spree-contrib/spree-product-assembly', branch: 'master'
gem 'puma'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.1.11'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.3'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.0.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use jquery as the JavaScript library
gem 'jquery-rails'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'
# bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring', group: :development
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use unicorn as the app server
# gem 'unicorn'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Use debugger
# gem 'debugger', group: [:development, :test]
In my digging it does not look like I'm the only person who has run into this. https://github.com/spree-contrib/spree-product-assembly/issues/110
But it is closed and I'm not seeing a solution. I have tried to roll back to various commits, same issue. I switched to Puma, as I found somewhere saying to try that, it was not about my issue but it was close. This has been my headache for 4 days now, in desperate need of some help.
Thank you in advance!
Ian
Well I got a response from the developers. The issue was never really fixed! They just installed spree_womabat even if you don't need it. Took me 30 seconds arg! Hope this save someone some time. Happy coding!

Sinatra on heroku production tries to load development gems

Trying to learn Sinatra I just deployed a simple app to heroku.
My config file:
require './main'
require 'sinatra'
run Sinatra::Application
Gemfile:
source 'http://rubygems.org'
ruby '1.9.3'
gem 'sinatra'
gem 'slim'
gem 'sass'
gem 'dm-core'
gem 'dm-migrations'
gem 'thin'
gem 'pg', :group => :production
gem 'dm-postgres-adapter', :group => :production
gem 'dm-sqlite-adapter', :group => :development
I get following error in the logs:
2015-03-31T09:13:54.051645+00:00 heroku[web.1]: State changed from crashed to starting
2015-03-31T09:13:57.281158+00:00 heroku[web.1]: Starting process with command `bundle exec ruby main.rb -p 28463`
2015-03-31T09:13:59.598142+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/adapters.rb:163:in `require': cannot load such file -- dm-sqlite-adapter (LoadError)
2015-03-31T09:13:59.598161+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/adapters.rb:163:in `load_adapter'
2015-03-31T09:13:59.598164+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/adapters.rb:133:in `adapter_class'
2015-03-31T09:13:59.598165+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core/adapters.rb:13:in `new'
2015-03-31T09:13:59.598167+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/dm-core-1.2.1/lib/dm-core.rb:230:in `setup'
2015-03-31T09:13:59.598169+00:00 app[web.1]: from /app/song.rb:5:in `block in <top (required)>'
2015-03-31T09:13:59.598171+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1410:in `configure'
2015-03-31T09:13:59.598172+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.4.6/lib/sinatra/base.rb:1989:in `block (2 levels) in delegate'
2015-03-31T09:13:59.598174+00:00 app[web.1]: from /app/song.rb:4:in `<top (required)>'
2015-03-31T09:13:59.598178+00:00 app[web.1]: from main.rb:6:in `require'
2015-03-31T09:13:59.598187+00:00 app[web.1]: from main.rb:6:in `<main>'
2015-03-31T09:14:00.479331+00:00 heroku[web.1]: State changed from starting to crashed
2015-03-31T09:14:00.461548+00:00 heroku[web.1]: Process exited with status 1
I tried the solution proposed here but it did not work.
Thanks in advance for ideas
I think you need datamapper in your Gemfile.
gem "datamapper"

Error H10 when deploying Sinatra app to Heroku

I cannot get my app to deploy to Heroku. So frustrating.
Here is the repository: repository link
Things I have tried:
I have updated my config.ru with everything I need per the heroku deployment page found here
I have run heroku run rake db:migrate
I have run heroku restart
I have ensured I have an updated gemfile
I double checked that I have the 'require' statements in my app.rb
Any thoughts? My error logs I am getting are below:
2014-11-02T03:46:07.404128+00:00 heroku[api]: Deploy bbe19c1 by johnsalzarulo#gmail.com
2014-11-02T03:46:07.404202+00:00 heroku[api]: Release v17 created by johnsalzarulo#gmail.com
2014-11-02T03:46:08.439283+00:00 heroku[web.1]: State changed from crashed to starting
2014-11-02T03:46:11.353727+00:00 heroku[web.1]: Starting process with command `bundle exec rackup config.ru -p 43798`
2014-11-02T03:46:13.210413+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
2014-11-02T03:46:13.210411+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
2014-11-02T03:46:13.210388+00:00 app[web.1]: /app/config.ru:1:in `require': cannot load such file -- ./gifinder (LoadError)
2014-11-02T03:46:13.210410+00:00 app[web.1]: from /app/config.ru:1:in `block in <main>'
2014-11-02T03:46:13.210424+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
2014-11-02T03:46:13.210425+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
2014-11-02T03:46:13.210414+00:00 app[web.1]: from /app/config.ru:in `new'
2014-11-02T03:46:13.210415+00:00 app[web.1]: from /app/config.ru:in `<main>'
2014-11-02T03:46:13.210417+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
2014-11-02T03:46:13.210419+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
2014-11-02T03:46:13.210418+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
2014-11-02T03:46:13.210421+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
2014-11-02T03:46:13.210427+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:250:in `start'
2014-11-02T03:46:13.210430+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/lib/rack/server.rb:141:in `start'
2014-11-02T03:46:13.210432+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/gems/rack-1.5.2/bin/rackup:4:in `<top (required)>'
2014-11-02T03:46:13.210434+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/bin/rackup:23:in `load'
2014-11-02T03:46:13.210437+00:00 app[web.1]: from /app/vendor/bundle/ruby/2.1.0/bin/rackup:23:in `<main>'
2014-11-02T03:46:13.977897+00:00 heroku[web.1]: State changed from starting to crashed
2014-11-02T03:46:13.970947+00:00 heroku[web.1]: Process exited with status 1
2014-11-02T03:46:15.252296+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gifinder.herokuapp.com request_id=7106f663-fa15-4c74-ab8e-f5df75030a55 fwd="174.129.111.111" dyno= connect= service= status=503 bytes=
2014-11-02T03:46:42.265175+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/" host=gifinder.herokuapp.com request_id=900cbb04-7ee9-4392-9f2f-7d4e833b15c0 fwd="24.43.108.83" dyno= connect= service= status=503 bytes=
2014-11-02T03:46:43.407062+00:00 heroku[router]: at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=gifinder.herokuapp.com request_id=ce46eed0-4a7f-4633-81ec-c826a3c90e30 fwd="24.43.108.83" dyno= connect= service= status=503 bytes=
Your config.ru file is trying to load a non-existent file with the require statement. Change this line require './gifinder' to:
require './app'
or, change the filename of app.rb to gifinder.rb. You should also follow iain's advice and remove the double Gemfile.lock because that's bound to cause problems.
Your require for HTTParty should also be lowercase. I fetched your repo and got it work on heroku by changing the require to all lowercase:
require 'httparty'
I don't know how you've done it, but you have two Gemfile.locks. I'd remove them both and re-run Bundler, and git rm the one that shouldn't be there.
Also note that Heroku now uses procfiles more extensively than previously, so get hold of Foreman and define a procfile.
In addition, when I run bundle install --binstubs --path=vendor I get this message:
Post-install message from heroku: ! The heroku gem has been
deprecated and replaced with the Heroku Toolbelt. ! Download and
install from: https://toolbelt.heroku.com ! For API access, see:
https://github.com/heroku/heroku.rb
so remove gem 'heroku', '~> 3.15.0' from the Gemfile and require 'heroku' (which was never needed in the app anyway) from app.rb. When I do that, the command bin/rackup config.ru runs the app for me on localhost:9292 just fine.

Heroku app crashes with 'libruby.so.1.9: cannot open shared object file' [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.
Closed 10 years ago.
I've never had problems deploying this app but I've just pushed and now I'm getting this weird error, which is deep enough in the stack that it's not even getting sent to Airbrake. I have a feeling it might be a problem at Heroku's end, possibly relating to https://status.heroku.com/incidents/450? What do you think?
2012-10-14T08:40:31+00:00 heroku[web.1]: State changed from starting to crashed
2012-10-14T08:40:31+00:00 heroku[web.1]: State changed from crashed to starting
2012-10-14T08:40:35+00:00 heroku[web.1]: Starting process with command `bundle exec thin start -R config.ru -e production -p 16119`
2012-10-14T08:40:38+00:00 app[web.1]: /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in `require': libruby.so.1.9: cannot open shared object file: No such file or directory - /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri/nokogiri.so (LoadError)
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/nokogiri-1.5.5/lib/nokogiri.rb:27:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core.rb:30:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core.rb:30:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog.rb:1:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `each'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:66:in `block in require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `each'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler/runtime.rb:55:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/bundler-1.2.1/lib/bundler.rb:128:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/config/boot.rb:8:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from config.ru:7:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from config.ru:7:in `block in <main>'
2012-10-14T08:40:38+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-10-14T08:40:38+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-10-14T08:40:38+00:00 app[web.1]: from config.ru:1:in `new'
2012-10-14T08:40:38+00:00 app[web.1]: from config.ru:1:in `<main>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core/parser.rb:1:in `require'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/fog-1.6.0/lib/fog/core/parser.rb:1:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `eval'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:71:in `start'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:187:in `run_command'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/runner.rb:152:in `run!'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/bin/thin:6:in `<top (required)>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `load'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/bin/thin:23:in `<main>'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/rack/adapter/loader.rb:33:in `load'
2012-10-14T08:40:38+00:00 app[web.1]: from /app/vendor/bundle/ruby/1.9.1/gems/thin-1.5.0/lib/thin/controllers/controller.rb:181:in `load_rackup_config'
2012-10-14T08:40:39+00:00 heroku[web.1]: Process exited with status 1
2012-10-14T08:40:39+00:00 heroku[web.1]: State changed from starting to crashed
2012-10-14T08:40:46+00:00 heroku[router]: Error H10 (App crashed) -> GET paintafish.herokuapp.com/ dyno= queue= wait= service= status=503 bytes=
I had a similar issue but with kgio (2.7.4) gem. After running out of ideas, I just deleted the heroku app and recreated. The problem disappeared.

Resources