Trouble with Deployment of a Rails App to Heroku - ruby

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.

Related

Unable to start rails server with any ruby versions

Currently we're using ruby 2.2.3 but I've used rbenv to test different versions and for all of them when I attempt to run rails server, it gives me similar logs:
/Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require': /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/meta_request-0.7.3/lib/meta_request/railtie.rb:20: syntax error, unexpected '.' (SyntaxError)
Rails.logger&.extend(LogInterceptor)
^
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/meta_request-0.7.3/lib/meta_request.rb:29:in `<top (required)>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config/application.rb:16:in `<top (required)>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:79:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:79:in `block in server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Here's /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/meta_request-0.7.3/lib/meta_request/railtie.rb before removing the '.' on line 20:
1. # frozen_string_literal: true
2.
3. require 'rails/railtie'
4.
5. module MetaRequest
6. class Railtie < ::Rails::Railtie
7. initializer 'meta_request.inject_middlewares' do |app|
8. app.middleware.use Middlewares::MetaRequestHandler
9.
10. if defined? ActionDispatch::DebugExceptions
11. app.middleware.insert_before ActionDispatch::DebugExceptions, Middlewares::Headers, app.config
12. else
13. app.middleware.use Middlewares::Headers, app.config
14. end
15.
16. app.middleware.use Middlewares::AppRequestHandler
17. end
18.
19. initializer 'meta_request.log_interceptor' do
20. Rails.logger&.extend(LogInterceptor)
21. end
22.
23. initializer 'meta_request.subscribe_to_notifications' do
24. AppNotifications.subscribe
25. end
26. end
27. end
Then I removed the '.' from line 20 and got the following log:
=> Booting Thin
=> Rails 4.1.14.2 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/meta_request-0.7.3/lib/meta_request/railtie.rb:20:in `block in <class:Railtie>': undefined method `&' for #<ActiveSupport::Logger:0x007fdbe355c460> (NoMethodError)
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:30:in `run'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/application.rb:300:in `initialize!'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/railtie.rb:194:in `public_send'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/railtie.rb:194:in `method_missing'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config/environment.rb:5:in `<top (required)>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:3:in `block in <main>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:55:in `instance_eval'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:55:in `initialize'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:in `new'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:in `<main>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:49:in `eval'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:49:in `new_from_string'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:40:in `parse_file'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:199:in `app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:50:in `app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:314:in `wrapped_app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:67:in `start'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Then I removed the '&' and added the '.' back and got this log:
=> Booting Thin
=> Rails 4.1.14.2 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option)
=> Ctrl-C to shutdown server
Exiting
/Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/airbrake-ruby-2.8.3/lib/airbrake-ruby/notifier.rb:32:in `initialize': :project_id is required (Airbrake::Error)
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/airbrake-ruby-2.8.3/lib/airbrake-ruby.rb:136:in `new'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/airbrake-ruby-2.8.3/lib/airbrake-ruby.rb:136:in `configure'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config/initializers/airbrake.rb:1:in `<top (required)>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `block in load'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:241:in `load'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/engine.rb:648:in `block in load_config_initializer'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/notifications.rb:161:in `instrument'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/engine.rb:647:in `load_config_initializer'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/engine.rb:611:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/engine.rb:611:in `block in <class:Engine>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:30:in `run'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:420:in `block (2 levels) in each_strongly_connected_component_from'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:419:in `block in each_strongly_connected_component_from'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:44:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:44:in `tsort_each_child'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `call'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:413:in `each_strongly_connected_component_from'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `call'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/application.rb:300:in `initialize!'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/railtie.rb:194:in `public_send'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/railtie.rb:194:in `method_missing'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config/environment.rb:5:in `<top (required)>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `block in require'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:232:in `load_dependency'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/activesupport-4.1.14.2/lib/active_support/dependencies.rb:247:in `require'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:3:in `block in <main>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:55:in `instance_eval'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:55:in `initialize'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:in `new'
from /Users/leon.shimizu/Desktop/Spectrio/apps/engage-ds-cms/app/config.ru:in `<main>'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:49:in `eval'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:49:in `new_from_string'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/builder.rb:40:in `parse_file'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:199:in `app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:50:in `app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/rack-1.5.4/lib/rack/server.rb:314:in `wrapped_app'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:130:in `log_to_stdout'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/server.rb:67:in `start'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:81:in `block in server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `tap'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:76:in `server'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands/commands_tasks.rb:40:in `run_command!'
from /Users/leon.shimizu/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/railties-4.1.14.2/lib/rails/commands.rb:17:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
I tried to add the log from when I attempted it with ruby 2.4.6, 2.6.10, and 2.7.2 but I ran out of characters.
Also, I wanted to say that I'm currently debugging and researching these errors but I just wanted to ask to see if anyone has seen similar errors.
Also, if you need any more information about what version of certain gems or anything like that, please let me know and I'll add it.
Gemfile:
source 'https://api.rubygems.org'
##############################
# Rails and DB
##############################
gem 'rails', '4.1.14.2'
gem 'rack', '1.5.4'
gem 'rack-cors', '1.0.2', require: 'rack/cors'
gem "rake", '0.9.2.2'
gem 'mysql2', '0.3.20'
gem 'test-unit', '3.1.5'
gem 'rails-erd'
##############################
# Assets (formerly assets group)
##############################
gem 'coffee-rails', '4.0.0'
gem 'uglifier', '>= 1.0.3'
gem "therubyracer", '0.12.2'
gem 'libv8', '3.16.14.13'
gem "less-rails", "3.0.0"
gem "railsstrap", "3.3.4"
gem "font-awesome-rails", "4.4.0.0"
##############################
# Environment
##############################
gem 'dotenv-rails', :groups => [:development, :test, :production]
##############################
# I18n
##############################
gem 'http_accept_language', '2.0.0'
gem 'i18n-js', '3.0.2'
##############################
# Authentication
##############################
# devise is currently at version 4.3.0, but we can't
# upgrade to anything 4.0+ without upgrading to rails 4.
gem 'devise', '3.5.10'
# token authentication for API.
# current version is 1.0.0. we won't be able to upgrade
# until we can upgrade devise to 4.0.
gem 'devise-token_authenticatable', '0.4.10'
# used for password_regex in devise config.
# could this be moved to a validation callback on the user model
# since we are only using the regex capability?
# also, seems unmaintained. currently only supports up to rails 4.0.
gem 'devise_security_extension', '0.10.0'
gem 'cancan', '1.6.3'
gem 'omniauth', '1.4.2'
gem 'omniauth-facebook', '4.0.0'
gem 'omniauth-twitter', '1.2.1'
gem 'omniauth-google-oauth2', '0.4.1'
gem 'omniauth-auth0'
gem 'doorkeeper', '3.1.0'
##############################
# API and Formatting
##############################
gem 'will_paginate', '~> 3.0'
gem 'wicked_pdf', '0.9.8'
gem 'wkhtmltopdf-binary-edge', '~> 0.12.3.0'
gem 'speechmatics', '0.2.1'
##############################
# Model Behavior
##############################
gem 'actionpack-xml_parser', '1.0.2' # XML parameter parsing
gem 'activerecord-session_store', '1.0.0'
gem 'protected_attributes', '1.0.5'
gem 'rails-observers', '0.1.5'
gem 'sidekiq', '5.0.5'
gem 'sidetiq', '0.7.2'
gem 'ancestry', '2.0.0'
gem 'acts-as-taggable-on', '4.0.0'
gem "audited-activerecord", '4.0.0'
gem 'geocoder', '1.6.1'
gem "rails_config", '0.2.5'
gem 'nokogiri', '1.6.0'
gem 'xml-simple', '1.1.5', :require => 'xmlsimple'
gem "rubyzip", "0.9.9"
gem 'google_timezone', '0.0.5'
# Included in Rails 4
#gem 'strong_parameters', '0.2.3'
gem 'acts_as_commentable', '4.0.2'
gem 'acts_as_list', '0.7.2'
gem 'ransack', '1.8.4'
gem 'ice_cube', '0.14.0'
gem 'simple_enum', '1.6.9' # can switch to active record enum when upgrade to rails 4
##############################
# Uploads
##############################
gem 'aws-sdk', '2.1.20'
gem 'carrierwave', '1.3.2'
gem 'carrierwave-aws', '1.2.0'
gem "mini_magick", "4.9.4"
gem 's3_direct_upload', git: 'https://github.com/waynehoover/s3_direct_upload'
gem 'transloadit', '2.0.1'
##############################
# Caching
##############################
gem 'actionpack-page_caching', '~> 1.2.1'
gem 'redis-rails'
gem 'redis-store', '1.6.0'
gem 'redis-namespace', '1.6.0'
gem 'redmon', '0.0.8', :require => false
##############################
# Cron
##############################
gem 'whenever', "0.8.2", :require => false
##############################
# Monitoring
##############################
gem "airbrake", "7.2.1"
gem "airbrake-ruby", "2.8.3"
gem 'newrelic_rpm', '~> 3.6'
gem "oink", '0.10.1'
##############################
# Logging
##############################
gem 'apachelogregex', '0.1.0'
gem 'log4r', '1.1.9'
##############################
# UI
##############################
gem 'jquery-rails', "2.2.1"
gem "swfobject-rails", "2.0"
gem 'will_paginate-bootstrap', "1.0.1"
gem "browser", "0.8.0"
gem "mobile-fu", "1.3.1"
gem "slim", "1.3.6"
gem "sinatra"
##############################
# EMAIL
##############################
gem "roadie", "3.0.3"
gem "roadie-rails", "1.0.4"
##############################
# Development/Linting
##############################
gem 'rubocop', '0.32.0', require: false
##############################
# Social
##############################
gem 'koala', '2.3.0' # Facebook
gem 'twitter', git: 'https://github.com/sferik/twitter', branch: 'master', ref: '60eb256'
gem 'google-api-client', '0.9'
##############################
# Util
##############################
gem 'json-compare'
gem 'chartkick', '3.0.2'
group :production do
end
group :test do
gem 'factory_bot_rails', require: false
gem 'rspec-rails', '~> 3.5'
gem 'shoulda', '~> 3.5', require: false
gem "fakeredis", :require => "fakeredis/rspec"
gem 'database_cleaner'
gem 'faker'
gem 'timecop'
gem 'test_after_commit', '1.1.0'
gem "rspec_junit_formatter", "~> 0.4.1"
end
group :development do
#gem 'rails4_upgrade', github: 'alindeman/rails4_upgrade'
gem "query_reviewer"
gem "capistrano", "2.15.6"
gem "capistrano-ec2group"
gem "capistrano-sidekiq"
gem "net-ssh", "~> 2.7.0"
gem 'quiet_assets', '~> 1.1.0'
# enables use of rails panel extension https://github.com/dejan/rails_panel
gem 'meta_request'
# allows interactive debugging
gem 'pry-remote'
# file monitoring for tests
gem 'ruby_dep', '~> 1.3.1'
gem 'guard-rspec', '~> 4.7'
gem 'brakeman', require: false
gem 'bullet'
gem "ruby-debug-ide", "~> 0.6.1"
gem "debase", "~> 0.2.2"
end
gem "jwt", "~> 1.5"
gem "httparty", "~> 0.16.2"
gem "puma", "3.12.4"
gem "blazer", "~> 1.9"
gem 'actionpack', '4.1.14.2'
gem 'ffi', '1.9.24'
gem 'activerecord', '4.1.14.2'
gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'

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"

Could not load 'active_record/connection_adapters/mysql2_adapter'

I wasting a day by struggling against that damn error. Hope you'll help me. It happens when I try to launch bundle exec cucumber -r features
Stacktrace:
Could not load 'active_record/connection_adapters/mysql2_adapter'. Make sure that the adapter in config/database.yml is valid. If you use an adapter other than 'mysql', 'mysql2', 'postgresql' or 'sqlite3' add the necessary adapter gem to the Gemfile. (LoadError)
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/mysql2-0.3.16/lib/mysql2.rb:8:in `<top (required)>'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activerecord-4.1.1/lib/active_record/connection_adapters/mysql2_adapter.rb:4:in `<top (required)>'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `block in require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activesupport-4.1.1/lib/active_support/dependencies.rb:247:in `require'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activerecord-4.1.1/lib/active_record/connection_adapters/connection_specification.rb:188:in `spec'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/activerecord-4.1.1/lib/active_record/connection_handling.rb:50:in `establish_connection'
/Users/volodymyr/projects/conductor/conductor/cucumber/features/support/databases.rb:27:in `<class:ReportingDb>'
/Users/volodymyr/projects/conductor/conductor/cucumber/features/support/databases.rb:11:in `<top (required)>'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/rb_support/rb_language.rb:95:in `load_code_file'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:180:in `load_file'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:83:in `block in load_files!'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:82:in `each'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime/support_code.rb:82:in `load_files!'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime.rb:184:in `load_step_definitions'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/runtime.rb:42:in `run!'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/lib/cucumber/cli/main.rb:47:in `execute!'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/gems/cucumber-1.3.15/bin/cucumber:13:in `<top (required)>'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/bin/cucumber:23:in `load'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/bin/cucumber:23:in `<main>'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `eval'
/Users/volodymyr/.rvm/gems/ruby-2.1.1/bin/ruby_executable_hooks:15:in `<main>'
Gemfile:
source 'http://rubygems.org'
gem 'cucumber'
gem 'rspec'
gem 'watir-webdriver'
gem 'parallel_tests'
gem 'activesupport'
gem 'httparty'
gem 'i18n'
gem 'json'
gem 'logger'
gem 'nokogiri'
gem 'activerecord'
gem 'mysql2', '> 0.3'
gem 'factory_girl'
gem 'database_cleaner'
gem 'aws-sdk'
gem 'rubyzip' # Required for rubyXL
gem 'rubyXL'
gem 'syntax'
gem 'rake'
gem 'mail'
group :development do
gem 'guard-cucumber' # Guard for Cucumber
gem 'terminal-notifier-guard' # OSX notifications! :)
end
You must define the database connection and provide the credentials in a database.yml file in your config folder. If you do not have this file, create it and add our settings to it:
# in config/database.yml
development:
adapter: mysql2
encoding: utf8
database: DATABASE_NAME_FOR_DEVELOPMENT
username: DATABASE_USER
password: DATABASE_PASSWORD
host: localhost
port: 3306
test:
adapter: mysql2
encoding: utf8
database: DATABASE_NAME_FOR_TESTS
username: DATABASE_USER
password: DATABASE_PASSWORD
host: localhost
port: 3306
The problem is the installation, verify your OS and install again. For example, I have Xubuntu 16.04, so i followed this steps.
wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/opf/openproject-ce xenial stable/6" | sudo tee /etc/apt/sources.list.d/openproject.list
sudo apt-get update
sudo apt-get install openproject
This is the installation guide for all the systems.

Heroku deprecation warnings when trying to migrate the database

I have a Rails 3.2 app that I've created and want to deploy it on Heroku.
I created a new session on the cedar stack and pushed up my app to it.
However, when I try to migrate the DB I get deprecation warnings.
I ran the migrate commend with the --trace command and here's what it gave me:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
uninitialized constant SimpleForm
/app/config/initializers/simple_form.rb:2:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:588:in `block (2 levels) in <class:Engine>'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:587:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/engine.rb:587:in `block in <class:Engine>'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:30:in `instance_exec'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:30:in `run'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:55:in `block in run_initializers'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:54:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/initializable.rb:54:in `run_initializers'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/application.rb:136:in `initialize!'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/railtie/configurable.rb:30:in `method_missing'
/app/config/environment.rb:5:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/application.rb:103:in `require'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/application.rb:103:in `require_environment!'
/app/vendor/bundle/ruby/1.9.1/gems/railties-3.2.2/lib/rails/application.rb:292:in `block (2 levels) in initialize_tasks'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
/usr/local/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
/app/vendor/bundle/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>'
/app/vendor/bundle/ruby/1.9.1/bin/rake:19:in `load'
/app/vendor/bundle/ruby/1.9.1/bin/rake:19:in `<main>'
Tasks: TOP => db:migrate => environment
My app works fine locally.
Here's my gem file:
source 'https://rubygems.org'
gem 'rails', '3.2.2'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
group :production do
gem 'thin'
gem 'pg'
end
group :development, :test do
gem 'sqlite3'
end
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', '~> 0.9.2'
gem 'bootstrap-sass'
gem 'uglifier', '>= 1.0.3'
gem 'twitter-bootstrap-rails', '2.0.2'
gem 'simple_form'
gem 'fog'
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
# To use Jbuilder templates for JSON
# gem 'jbuilder'
# Use unicorn as the app server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
move the simple_form gem outside your :assets group - mine is under the jquery-rails gem reference then make sure you run this command locally in your console before pushing to heroku:
RAILS_ENV=production bundle exec rake assets:precompile
hope that helps!

Resources