"Precompiling assets failed" when pushing a Rails app to Heroku - ruby-on-rails

I am taking a Ruby on Rails course and I am trying to push an app to Heroku. I've searched through older StackOverflow posts about this same issue, but none of those suggestions are working for me. Below is the log of my attempt. I would appreciate any assistance. Thank you.
I'm being told to add more text. the main errors seem to be:
"Precompiling assets failed"
"Pre-receive hook declined"
ID 52540144-6b6d-4959-95a0-b9350d45a774
! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used.
Detected buildpacks: Ruby,Node.js
See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.1
-----> Installing dependencies using bundler 1.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Fetching rake 12.3.1
Fetching concurrent-ruby 1.0.5
Fetching minitest 5.11.3
Installing minitest 5.11.3
Installing concurrent-ruby 1.0.5
Installing rake 12.3.1
Fetching thread_safe 0.3.6
Installing thread_safe 0.3.6
Fetching builder 3.2.3
Installing builder 3.2.3
Fetching erubi 1.7.1
Installing erubi 1.7.1
Fetching mini_portile2 2.3.0
Installing mini_portile2 2.3.0
Fetching crass 1.0.4
Installing crass 1.0.4
Fetching rack 2.0.5
Fetching nio4r 2.3.1
Installing nio4r 2.3.1 with native extensions
Installing rack 2.0.5
Fetching websocket-extensions 0.1.3
Installing websocket-extensions 0.1.3
Fetching mini_mime 1.0.1
Installing mini_mime 1.0.1
Fetching arel 9.0.0
Installing arel 9.0.0
Fetching mimemagic 0.3.2
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching msgpack 1.2.4
Installing mimemagic 0.3.2
Installing msgpack 1.2.4 with native extensions
Fetching popper_js 1.14.3
Installing popper_js 1.14.3
Fetching rb-fsevent 0.10.3
Installing rb-fsevent 0.10.3
Fetching ffi 1.9.25
Installing ffi 1.9.25 with native extensions
Using bundler 1.15.2
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching method_source 0.9.0
Installing method_source 0.9.0
Fetching thor 0.20.0
Installing thor 0.20.0
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching pg 1.1.3
Installing pg 1.1.3 with native extensions
Fetching puma 3.12.0
Installing puma 3.12.0 with native extensions
Fetching tilt 2.0.8
Installing tilt 2.0.8
Fetching turbolinks-source 5.2.0
Installing turbolinks-source 5.2.0
Fetching tzinfo 1.2.5
Installing tzinfo 1.2.5
Fetching i18n 1.1.1
Installing i18n 1.1.1
Fetching nokogiri 1.8.5
Installing nokogiri 1.8.5 with native extensions
Fetching websocket-driver 0.7.0
Installing websocket-driver 0.7.0 with native extensions
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching autoprefixer-rails 9.3.1
Installing autoprefixer-rails 9.3.1
Fetching uglifier 4.1.19
Installing uglifier 4.1.19
Fetching marcel 0.3.3
Installing marcel 0.3.3
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching bootsnap 1.3.2
Installing bootsnap 1.3.2 with native extensions
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching turbolinks 5.2.0
Installing turbolinks 5.2.0
Fetching activesupport 5.2.1
Installing activesupport 5.2.1
Fetching loofah 2.2.3
Installing loofah 2.2.3
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching globalid 0.4.1
Installing globalid 0.4.1
Fetching activemodel 5.2.1
Fetching jbuilder 2.7.0
Installing activemodel 5.2.1
Installing jbuilder 2.7.0
Fetching rails-html-sanitizer 1.0.4
Installing rails-html-sanitizer 1.0.4
Fetching sass 3.6.0
Fetching activejob 5.2.1
Installing activejob 5.2.1
Installing sass 3.6.0
Fetching activerecord 5.2.1
Fetching actionview 5.2.1
Installing activerecord 5.2.1
Installing actionview 5.2.1
Fetching actionpack 5.2.1
Installing actionpack 5.2.1
Fetching bootstrap 4.1.3
Installing bootstrap 4.1.3
Fetching bootstrap-sass 3.3.7
Installing bootstrap-sass 3.3.7
Fetching actioncable 5.2.1
Installing actioncable 5.2.1
Fetching actionmailer 5.2.1
Installing actionmailer 5.2.1
Fetching activestorage 5.2.1
Installing activestorage 5.2.1
Fetching railties 5.2.1
Installing railties 5.2.1
Fetching sprockets-rails 3.2.1
Installing sprockets-rails 3.2.1
Fetching jquery-rails 4.3.3
Fetching coffee-rails 4.2.2
Fetching rails 5.2.1
Installing coffee-rails 4.2.2
Installing rails 5.2.1
Fetching sass-rails 5.0.7
Installing sass-rails 5.0.7
Installing jquery-rails 4.3.3
Bundle complete! 19 Gemfile dependencies, 66 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from sass:
Ruby Sass is deprecated and will be unmaintained as of 26 March 2019.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
http://sass.logdown.com/posts/7081811
Bundle completed (47.12s)
Cleaning up the bundler cache.
Warning: the running version of Bundler (1.15.2) is older than the version that created the lockfile (1.16.5). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
The latest bundler is 1.17.1, but you are currently running 1.15.2.
To update, run `gem install bundler`
-----> Installing node-v8.10.0-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/lib/bootstrap-sass/version.rb:2: warning: already initialized constant Bootstrap::VERSION
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/lib/bootstrap/version.rb:2: warning: previous definition of VERSION was here
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-sass-3.3.7/lib/bootstrap-sass/version.rb:3: warning: already initialized constant Bootstrap::BOOTSTRAP_SHA
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/lib/bootstrap/version.rb:3: warning: previous definition of BOOTSTRAP_SHA was here
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
I, [2018-10-31T14:05:58.213666 #1419] INFO -- : Writing /tmp/build_d87edff4795e58683aa5e3626de5a3f7/public/assets/bicycle-b0065f34bb7db6b7b0a5cf8d177e85276f69b39e791b5fd72a245e8b90e0cc43.jpg
I, [2018-10-31T14:06:05.048362 #1419] INFO -- : Writing /tmp/build_d87edff4795e58683aa5e3626de5a3f7/public/assets/application-b2b98178b68108062edcf84d640b496d914a3dab78c660f799ab4c8a54064fcd.js
I, [2018-10-31T14:06:05.048648 #1419] INFO -- : Writing /tmp/build_d87edff4795e58683aa5e3626de5a3f7/public/assets/application-b2b98178b68108062edcf84d640b496d914a3dab78c660f799ab4c8a54064fcd.js.gz
rake aborted!
Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets.
Load paths:
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/assets/stylesheets
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/assets/stylesheets
(sass):1
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:67:in `rescue in import'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:44:in `import'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:28:in `imported_file'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:37:in `css_import?'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:310:in `visit_import'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:79:in `block in with_base'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:135:in `with_frame'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:79:in `with_base'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:158:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `map'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:157:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:10:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb:36:in `css_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb:20:in `render'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/engine.rb:290:in `render'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:48:in `call'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:28:in `call'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
Caused by:
Sass::SyntaxError: File to import not found or unreadable: bootstrap-sprockets.
Load paths:
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/assets/stylesheets
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/bootstrap-4.1.3/assets/stylesheets
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:65:in `import'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:28:in `imported_file'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/import_node.rb:37:in `css_import?'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:310:in `visit_import'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:79:in `block in with_base'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:135:in `with_frame'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/stack.rb:79:in `with_base'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:158:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `map'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/base.rb:36:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:157:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/visitors/perform.rb:10:in `visit'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb:36:in `css_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/tree/root_node.rb:20:in `render'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sass-3.6.0/lib/sass/engine.rb:290:in `render'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:48:in `call'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/sass_compressor.rb:28:in `call'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:68:in `block (3 levels) in define'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/sprockets-rails-3.2.1/lib/sprockets/rails/task.rb:67:in `block (2 levels) in define'
/tmp/build_d87edff4795e58683aa5e3626de5a3f7/vendor/bundle/ruby/2.5.0/gems/rake-12.3.1/exe/rake:27:in `<top (required)>'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app.
! Push failed

Rails 2.0+
It's because you're using bootstrap-sprockets but don't have the bootstrap-sass gem installed.
Basically add the following to your Gemfile:
gem 'bootstrap-sass', '~> 3.3.7'
gem 'sass-rails', '>= 3.2'
Then import the variables in your app/assets/stylesheets/application.scss:
// "bootstrap-sprockets" must be imported before "bootstrap" and "bootstrap/variables"
#import "bootstrap-sprockets";
#import "bootstrap";
Last, if you're using a scss you need to change all of your *= require_self and *= require_tree to #import in order to import Sass files. You can find more detailed installation instructions here: https://github.com/twbs/bootstrap-sass
Rails 4.0+
For newer versions of rails follow this documentation: https://github.com/twbs/bootstrap-rubygem#a-ruby-on-rails
add gem 'bootstrap', '~> 4.1.3' to your Gemfile
add #import "bootstrap"; to your app/assets/stylesheets/application.scss
remove all the *= require and *= require_tree statements from the Sass file, instead use #import
add gem 'jquery-rails' to your Gemfile

Related

Push rejected, failed to compile Ruby app, Push failed

I tried to deploy to heroku and gave this error, I'm using PostgreSQL. Please help me!!
-----> Building on the Heroku-18 stack
-----> Ruby app detected
-----> Installing bundler 2.1.4
-----> Removing BUNDLED WITH version in the Gemfile.lock
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.1
-----> Installing dependencies using bundler 2.1.4
Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4
The dependency byebug (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x86_64-linux but the dependency is only for ruby, x86-mingw32, x64-mingw32. To add those platforms to the bundle, run `bundle lock --add-platform ruby x86-mingw32 x64-mingw32`.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for x86_64-linux but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Fetching gem metadata from https://rubygems.org/............
Fetching rake 13.0.3
Installing rake 13.0.3
Fetching concurrent-ruby 1.1.8
Fetching minitest 5.14.3
Fetching thread_safe 0.3.6
Installing minitest 5.14.3
Installing thread_safe 0.3.6
Installing concurrent-ruby 1.1.8
Fetching builder 3.2.4
Installing builder 3.2.4
Fetching erubi 1.10.0
Installing erubi 1.10.0
Fetching racc 1.5.2
Installing racc 1.5.2 with native extensions
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching rack 2.2.3
Installing rack 2.2.3
Fetching nio4r 2.5.4
Installing nio4r 2.5.4 with native extensions
Fetching websocket-extensions 0.1.5
Installing websocket-extensions 0.1.5
Fetching mini_mime 1.0.2
Installing mini_mime 1.0.2
Fetching arel 9.0.0
Installing arel 9.0.0
Fetching mimemagic 0.3.5
Installing mimemagic 0.3.5
Fetching execjs 2.7.0
Installing execjs 2.7.0
Fetching rb-fsevent 0.10.4
Installing rb-fsevent 0.10.4
Fetching ffi 1.14.2
Installing ffi 1.14.2 with native extensions
Fetching bcrypt 3.1.16
Installing bcrypt 3.1.16 with native extensions
Fetching msgpack 1.3.3
Installing msgpack 1.3.3 with native extensions
Using bundler 2.1.4
Fetching coffee-script-source 1.12.2
Installing coffee-script-source 1.12.2
Fetching method_source 1.0.0
Installing method_source 1.0.0
Fetching thor 1.1.0
Installing thor 1.1.0
Fetching orm_adapter 0.5.0
Installing orm_adapter 0.5.0
Fetching pg 1.2.3
Installing pg 1.2.3 with native extensions
Fetching puma 3.12.6
Installing puma 3.12.6 with native extensions
Fetching tilt 2.0.10
Installing tilt 2.0.10
Fetching turbolinks-source 5.2.0
Installing turbolinks-source 5.2.0
Fetching tzinfo 1.2.9
Installing tzinfo 1.2.9
Fetching rack-test 1.1.0
Installing rack-test 1.1.0
Fetching warden 1.2.9
Installing warden 1.2.9
Fetching i18n 1.8.7
Installing i18n 1.8.7
Fetching sprockets 3.7.2
Installing sprockets 3.7.2
Fetching websocket-driver 0.7.3
Installing websocket-driver 0.7.3 with native extensions
Fetching mail 2.7.1
Installing mail 2.7.1
Fetching marcel 0.3.3
Installing marcel 0.3.3
Fetching autoprefixer-rails 10.2.0.0
Installing autoprefixer-rails 10.2.0.0
Fetching uglifier 4.2.0
Installing uglifier 4.2.0
Fetching nokogiri 1.11.1 (x86_64-linux)
Installing nokogiri 1.11.1 (x86_64-linux)
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching coffee-script 2.4.1
Installing coffee-script 2.4.1
Fetching bootsnap 1.5.1
Installing bootsnap 1.5.1 with native extensions
Fetching turbolinks 5.2.1
Installing turbolinks 5.2.1
Fetching activesupport 5.2.4.4
Installing activesupport 5.2.4.4
Fetching loofah 2.9.0
Installing loofah 2.9.0
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching rails-dom-testing 2.0.3
Installing rails-dom-testing 2.0.3
Fetching globalid 0.4.2
Fetching activemodel 5.2.4.4
Installing globalid 0.4.2
Installing activemodel 5.2.4.4
Fetching jbuilder 2.10.1
Installing jbuilder 2.10.1
Fetching rails-html-sanitizer 1.3.0
Fetching sass 3.7.4
Installing rails-html-sanitizer 1.3.0
Fetching activejob 5.2.4.4
Installing sass 3.7.4
Installing activejob 5.2.4.4
Fetching activerecord 5.2.4.4
Fetching actionview 5.2.4.4
Installing activerecord 5.2.4.4
Installing actionview 5.2.4.4
Fetching bootstrap-sass 3.3.4.1
Installing bootstrap-sass 3.3.4.1
Fetching actionpack 5.2.4.4
Installing actionpack 5.2.4.4
Fetching adminlte2-rails 0.0.6
Fetching actioncable 5.2.4.4
Fetching actionmailer 5.2.4.4
Installing actionmailer 5.2.4.4
Installing actioncable 5.2.4.4
Fetching activestorage 5.2.4.4
Installing activestorage 5.2.4.4
Fetching railties 5.2.4.4
Installing adminlte2-rails 0.0.6
Installing railties 5.2.4.4
Fetching sprockets-rails 3.2.2
Installing sprockets-rails 3.2.2
Fetching coffee-rails 4.2.2
Fetching responders 3.0.1
Installing coffee-rails 4.2.2
Installing responders 3.0.1
Fetching rails 5.2.4.4
Fetching sass-rails 5.1.0
Installing rails 5.2.4.4
Installing sass-rails 5.1.0
Fetching devise 4.7.3
Installing devise 4.7.3
Bundle complete! 20 Gemfile dependencies, 68 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from i18n:
HEADS UP! i18n 1.1 changed fallbacks to exclude default locale.
But that may break your application.
If you are upgrading your Rails application from an older version of Rails:
Please check your Rails app for 'config.i18n.fallbacks = true'.
If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be
'config.i18n.fallbacks = [I18n.default_locale]'.
If not, fallbacks will be broken in your app by I18n 1.1.x.
If you are starting a NEW Rails application, you can ignore this notice.
For more info see:
https://github.com/svenfuchs/i18n/releases/tag/v1.1.0
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
Bundle completed (35.36s)
Cleaning up the bundler cache.
-----> Installing node-v12.16.2-linux-x64
-----> Detecting rake tasks
!
! Could not detect rake tasks
! ensure you can run `$ bundle exec rake -P` against your app
! and using the production group of your Gemfile.
! /tmp/build_e8ec4900_/config/boot.rb:4:in `require': cannot load such file -- bootsnap/setup (LoadError)
! from /tmp/build_e8ec4900_/config/boot.rb:4:in `<top (required)>'
! from /tmp/build_e8ec4900_/bin/rake:7:in `require_relative'
! from /tmp/build_e8ec4900_/bin/rake:7:in `<main>'
!
/tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/helpers/rake_runner.rb:106:in `load_rake_tasks!': Could not detect rake tasks (LanguagePack::Helpers::RakeRunner::CannotLoadRakefileError)
ensure you can run `$ bundle exec rake -P` against your app
and using the production group of your Gemfile.
/tmp/build_e8ec4900_/config/boot.rb:4:in `require': cannot load such file -- bootsnap/setup (LoadError)
from /tmp/build_e8ec4900_/config/boot.rb:4:in `<top (required)>'
from /tmp/build_e8ec4900_/bin/rake:7:in `require_relative'
from /tmp/build_e8ec4900_/bin/rake:7:in `<main>'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:1106:in `rake'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:78:in `block (2 levels) in run_assets_precompile_rake_task'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:190:in `log'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:72:in `block in run_assets_precompile_rake_task'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:71:in `run_assets_precompile_rake_task'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:116:in `block (2 levels) in compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:1127:in `allow_git'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:109:in `block in compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/ruby.rb:94:in `compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails2.rb:62:in `block in compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails2.rb:60:in `compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails3.rb:42:in `block in compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails3.rb:41:in `compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:35:in `block in compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:50:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:46:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/rails4.rb:34:in `compile'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:20:in `block (2 levels) in <main>'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/base.rb:190:in `log'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:19:in `block in <main>'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:35:in `block in trace'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:18:in `block (2 levels) in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:40:in `yield_with_block_depth'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:17:in `block in instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/vendor/ruby/heroku-18/lib/ruby/2.6.0/benchmark.rb:308:in `realtime'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:16:in `instrument'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/lib/language_pack/instrument.rb:35:in `trace'
from /tmp/codon/tmp/buildpacks/50d5eddf222a9b7326028041d4e6509f915ccf2c/bin/support/ruby_compile:15:in `<main>'
! Push rejected, failed to compile Ruby app.
! Push failed

Cannot deploy. Heroku dashboard shows "Latest build failed"

Screenshot of error message on Heroku dashboard.
Here's the log (I'm very new to this so I've redacted some stuff in the lower section that looked like it might be private):
-----> Using set buildpack heroku/ruby
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using bundler 1.9.7
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies.....
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using mime-types 2.99
Using arel 6.0.3
Using acts_as_follower 0.2.1
Using acts_as_votable 0.10.0
Using httpclient 2.7.1
Using aws_cf_signer 0.1.3
Using unf_ext 0.0.7.2
Using netrc 0.11.0
Using bundler 1.9.7
Using thor 0.19.1
Using concurrent-ruby 1.0.0
Using bcrypt 3.1.10
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using orm_adapter 0.5.0
Using elo 0.1.0
Using exception_handler 0.4.7
Using geocoder 1.3.0
Using gmaps4rails 2.1.2
Using gravtastic 3.2.6
Using tilt 2.0.2
Using hashie 3.4.3
Using high_voltage 2.2.1
Using imgkit 1.6.1
Using multi_json 1.11.2
Using kgio 2.10.0
Using libv8 3.16.14.13
Using newrelic_rpm 3.14.3.313
Using pg 0.18.4
Using pusher-signature 0.1.8
Using rack-cors 0.4.0
Using rails_serve_static_assets 0.0.5
Using rails_stdout_logging 0.0.4
Using raindrops 0.15.0
Using rdiscount 2.1.8
Using redcarpet 3.3.4
Using ref 2.0.0
Using sass 3.4.21
Using rack-test 0.6.3
Using warden 1.2.6
Using mail 2.6.3
Using nokogiri 1.6.7.2
Using algoliasearch 1.7.0
Using unf 0.1.4
Using tzinfo 1.2.2
Using coffee-script 2.4.1
Using uglifier 2.7.2
Using haml 4.0.7
Using omniauth 1.3.1
Using sprockets 3.5.2
Using rollbar 1.4.5
Using pusher 0.16.0
Using rails_12factor 0.0.3
Using unicorn 5.0.1
Using therubyracer 0.12.2
Using loofah 2.0.3
Using impressionist 1.5.1
Using algoliasearch-rails 1.14.1
Using domain_name 0.5.20160128
Using activesupport 4.2.1
Using rails-html-sanitizer 1.0.3
Using http-cookie 1.0.2
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.1
Using carmen 1.0.2
Using jbuilder 2.4.1
Using rest-client 1.8.0
Using activejob 4.2.1
Using activerecord 4.2.1
Using rails-dom-testing 1.0.7
Using cloudinary 1.1.2
Using friendly_id 5.1.0
Using actionview 4.2.1
Using actionpack 4.2.1
Using actionmailer 4.2.1
Using railties 4.2.1
Using sprockets-rails 3.0.1
Using simple_form 3.2.1
Using rails 4.2.1
Using momentjs-rails 2.11.0
Using coffee-rails 4.1.1
Using jquery-rails 4.1.0
Using responders 2.1.1
Using public_activity 1.4.2
Using sass-rails 5.0.4
Using attachinary 1.3.1
Using carmen-rails 1.0.1
Using rails_autolink 1.1.6
Using bootstrap3-datetimepicker-rails 4.7.14
Using turbolinks 2.5.3
Using commontator 4.10.5
Using devise 3.5.6
Using devise_token_auth 0.1.37
Installing dalli 2.7.6
Bundle complete! 53 Gemfile dependencies, 104 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (6.84s)
Cleaning up the bundler cache.
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Removing dalli (2.7.5)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `setup' for ExceptionHandler:Module
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/initializers/exception_handler.rb:6:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/environment.rb:5:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.1/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
Thanks for all the help
EDIT:
Here is the new build log:
-----> Using set buildpack heroku/ruby
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.5
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using bundler 1.9.7
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Fetching gem metadata from http://rubygems.org/...........
Fetching version metadata from http://rubygems.org/...
Fetching dependency metadata from http://rubygems.org/..
Resolving dependencies.....
Using rake 10.5.0
Using i18n 0.7.0
Using json 1.8.3
Using minitest 5.8.4
Using thread_safe 0.3.5
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile2 2.0.0
Using rack 1.6.4
Using arel 6.0.3
Using acts_as_follower 0.2.1
Using acts_as_votable 0.10.0
Using httpclient 2.7.1
Using aws_cf_signer 0.1.3
Using unf_ext 0.0.7.2
Using netrc 0.11.0
Using bundler 1.9.7
Using thor 0.19.1
Using concurrent-ruby 1.0.0
Using bcrypt 3.1.10
Using coffee-script-source 1.10.0
Using execjs 2.6.0
Using orm_adapter 0.5.0
Using elo 0.1.0
Using exception_handler 0.4.7
Installing mime-types 2.99.1
Using gmaps4rails 2.1.2
Using gravtastic 3.2.6
Using tilt 2.0.2
Using hashie 3.4.3
Using high_voltage 2.2.1
Using imgkit 1.6.1
Using multi_json 1.11.2
Using kgio 2.10.0
Using libv8 3.16.14.13
Installing dalli 2.7.6
Using pg 0.18.4
Using pusher-signature 0.1.8
Using rack-cors 0.4.0
Using rails_serve_static_assets 0.0.5
Using rails_stdout_logging 0.0.4
Using raindrops 0.15.0
Using rdiscount 2.1.8
Using redcarpet 3.3.4
Using ref 2.0.0
Using sass 3.4.21
Using tzinfo 1.2.2
Using nokogiri 1.6.7.2
Using rack-test 0.6.3
Using warden 1.2.6
Using algoliasearch 1.7.0
Using unf 0.1.4
Using sprockets 3.5.2
Using coffee-script 2.4.1
Using uglifier 2.7.2
Using mail 2.6.3
Using haml 4.0.7
Using omniauth 1.3.1
Using rollbar 1.4.5
Installing geocoder 1.3.1
Using rails_12factor 0.0.3
Using unicorn 5.0.1
Using therubyracer 0.12.2
Using activesupport 4.2.1
Using loofah 2.0.3
Using impressionist 1.5.1
Using algoliasearch-rails 1.14.1
Installing domain_name 0.5.20160216
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.6
Using activemodel 4.2.1
Using carmen 1.0.2
Using jbuilder 2.4.1
Using rails-html-sanitizer 1.0.3
Using http-cookie 1.0.2
Using rails-dom-testing 1.0.7
Using activejob 4.2.1
Using activerecord 4.2.1
Using rest-client 1.8.0
Using actionview 4.2.1
Using friendly_id 5.1.0
Using cloudinary 1.1.2
Using actionpack 4.2.1
Using actionmailer 4.2.1
Using railties 4.2.1
Installing pusher 0.17.0
Using simple_form 3.2.1
Using momentjs-rails 2.11.0
Using coffee-rails 4.1.1
Using jquery-rails 4.1.0
Using responders 2.1.1
Installing sprockets-rails 3.0.2
Using bootstrap3-datetimepicker-rails 4.7.14
Using turbolinks 2.5.3
Using devise 3.5.6
Using rails 4.2.1
Using sass-rails 5.0.4
Using attachinary 1.3.1
Using carmen-rails 1.0.1
Using commontator 4.10.5
Using devise_token_auth 0.1.37
Using rails_autolink 1.1.6
Installing public_activity 1.4.3
Installing newrelic_rpm 3.15.0.314
Bundle complete! 53 Gemfile dependencies, 104 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (7.39s)
Cleaning up the bundler cache.
Your Gemfile lists the gem rest-client (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of just one of them later.
Removing public_activity (1.4.2)
Removing domain_name (0.5.20160128)
Removing pusher (0.16.0)
Removing mime-types (2.99)
Removing dalli (2.7.5)
Removing newrelic_rpm (3.14.3.313)
Removing sprockets-rails (3.0.1)
Removing geocoder (1.3.0)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `setup' for ExceptionHandler:Module
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/initializers/exception_handler.rb:6:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `block in load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:268:in `load'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:652:in `block in load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:651:in `load_config_initializer'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:616:in `block (2 levels) in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/engine.rb:615:in `block in <class:Engine>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `each'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/config/environment.rb:5:in `<top (required)>'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'
/tmp/build_(REDACTED IN CASE IT IS PRIVATE)/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.2/lib/sprockets/rails/task.rb:62:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
From the Heroku docs:
This means that your app is attempting to connect to the database as part of rake assets:precompile. Because the config vars are not present in the environment, we use a placeholder DATABASE_URL to satisfy Rails.
To resolve this issue, ensure that the following line appears in your config/application.rb:
# config/application.rb
config.assets.initialize_on_precompile = false
Once added, commit your change and redeploy to Heroku – your assets should compile without your app attempting to connect to the database, which should resolve the error you're witnessing.
UPDATE:
Line 46 of your stacktrace includes the following message: Devise.secret_key was not set.
According to the author of Devise, José Valim, this issue can be resolved in the following manner:
Please add the following to your Devise initializer:
config.secret_key = '-- secret key --'
Alternatively, the following solution seems to have worked for a number of users:
I went to my routes.rb file and commented out the line devise_for :installs
Then I went back and reran rails generate devise:install. If that doesn't work, use the previous version of devise by editing your Gemfile's reference to Devise like this: gem 'devise', '3.0.3' and then follow the steps i mentioned above.
Please look at https://stackoverflow.com/a/19650687/1380867 and thanks
zeantsoi for this answer
I made ExceptionHandler and it seems it's causing the issue...
NoMethodError: undefined method `setup' for ExceptionHandler:Module
In ExceptionHandler > 0.4.5, the initializer has been replaced with config methods:
From the docs:
IMPORTANT
If you're upgrading to 0.4.6, you need to remove your exception_handler initializer.
We've changed the load process to use Rails app config - you don't need the exception_handler initializer any more
You need to copy your exception_handler settings from config/initializers/exception_handler.rb and place them into config/production.rb.
You need to delete config/initializers/exception_handler.rb
--
I am available to chat if you leave a comment etc

Heroku|Ruby ArgumentError: Missing required arguments:

I have added the aws access info in /config/initializers/carrier_wave.rb:
if Rails.env.production?
CarrierWave.configure do |config|
config.fog_credentials = {
# Configuration for Amazon S3
:provider => 'AWS',
:aws_access_key_id => ENV['access_key'],
:aws_secret_access_key => ENV['secret_access_key'],
}
config.fog_directory = ENV['bucket']
end
end
but when i try to push to heroku, i get the following error: i am not sure what else to do, any help would be greatly appreciated.
JUSTINs-iMac:premidx justindoshay$ git push heroku
Fetching repository, done.
Counting objects: 23, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (11/11), done.
Writing objects: 100% (12/12), 1.09 KiB | 0 bytes/s, done.
Total 12 (delta 9), reused 0 (delta 0)
-----> Removing .DS_Store files
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.1.3
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
Using rake 10.3.2
Using minitest 5.4.2
Using thread_safe 0.3.4
Using builder 3.2.2
Using erubis 2.7.0
Using mini_portile 0.6.1
Using rack 1.6.0.beta
Using i18n 0.7.0.beta1
Using mime-types 2.4.3
Using arel 6.0.0.beta2
Using bcrypt 3.1.7
Using sass 3.4.7
Using json 1.8.1
Using will_paginate 3.0.7
Using thor 0.19.1
Using cancan 1.6.10
Using uber 0.0.10
Using execjs 2.2.2
Using formatador 0.2.5
Using coffee-script-source 1.8.0
Using excon 0.41.0
Using net-ssh 2.9.1
Using inflecto 0.0.2
Using multi_json 1.10.1
Using ipaddress 0.8.0
Using gritter 1.1.0
Using hike 1.2.3
Using kgio 2.9.2
Using pg 0.17.1
Using bundler 1.6.3
Using subexec 0.2.3
Using rails_serve_static_assets 0.0.2
Using tilt 1.4.1
Using raindrops 0.13.0
Using rails_stdout_logging 0.0.3
Using tzinfo 1.2.2
Using nokogiri 1.6.4
Using rack-test 0.6.2
Using rdoc 4.1.2
Using mail 2.6.3
Using bootstrap-will_paginate 0.0.10
Using bootstrap-sass 3.2.0.0
Using uglifier 2.5.3
Using faker 1.4.2
Using coffee-script 2.3.0
Using net-scp 1.2.1
Using fog-json 1.0.0
Using mini_magick 3.8.0
Using unicorn 4.8.3
Using activesupport 4.2.0.beta4
Using sprockets 2.12.3
Using rails_12factor 0.0.2
Using sdoc 0.4.0
Using fog-core 1.24.0
Using rails-deprecated_sanitizer 1.0.3
Using globalid 0.3.0
Using loofah 2.0.1
Using jbuilder 2.2.3
Using activemodel 4.2.0.beta4
Using fog-brightbox 0.6.1
Using fog-softlayer 0.3.23
Using rails-dom-testing 1.0.4
Using activejob 4.2.0.beta4
Using rails-html-sanitizer 1.0.1
Using activerecord 4.2.0.beta4
Using carrierwave 0.10.0
Using actionview 4.2.0.beta4
Using fog 1.23.0
Using friendly_id 5.0.4
Using actionpack 4.2.0.beta4
Using actionmailer 4.2.0.beta4
Using sprockets-rails 3.0.0.beta1
Using simple_form 3.0.2
Using railties 4.2.0.beta4
Using coffee-rails 4.0.1
Using cells 3.11.2
Using jquery-rails 4.0.0.beta2
Using rails 4.2.0.beta4
Using sass-rails 5.0.0.beta1
Using turbolinks 2.3.0
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (0.79s)
Cleaning up the bundler cache.
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
ArgumentError: Missing required arguments: aws_access_key_id, aws_secret_access_key
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:237:in `validate_options'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:261:in `handle_settings'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/core/service.rb:98:in `new'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/fog-core-1.24.0/lib/fog/storage.rb:26:in `new'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:83:in `eager_load_fog'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:96:in `fog_credentials='
/tmp/build_147081514681b2a6351adf453926ef97/config/initializers/carrier_wave.rb:3:in `block in <top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave/uploader/configuration.rb:118:in `configure'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/carrierwave-0.10.0/lib/carrierwave.rb:14:in `configure'
/tmp/build_147081514681b2a6351adf453926ef97/config/initializers/carrier_wave.rb:2:in `<top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `block in load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in `load_dependency'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in `load'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:648:in `block in load_config_initializer'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/notifications.rb:166:in `instrument'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:647:in `load_config_initializer'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:612:in `block (2 levels) in <class:Engine>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:611:in `each'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/engine.rb:611:in `block in <class:Engine>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:30:in `run'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:44:in `each'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:349:in `initialize!'
/tmp/build_147081514681b2a6351adf453926ef97/config/environment.rb:5:in `<top (required)>'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `block in require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:237:in `load_dependency'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `require'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:325:in `require_environment!'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/railties-4.2.0.beta4/lib/rails/application.rb:438:in `block in run_tasks_blocks'
/tmp/build_147081514681b2a6351adf453926ef97/vendor/bundle/ruby/2.1.0/gems/sprockets-rails-3.0.0.beta1/lib/sprockets/rails/task.rb:64:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:damp-coast-2948.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:damp-coast-2948.git'
Make certain that your environment variables are set
You can do this by running
heroku config
in your terminal.
This command will output your current environment variables, if you do not see ACCESS_KEY or
SECRET_ACCESS_KEY then run the following command in terminal
heroku config:set ACCESS_KEY=YOUR_ACCESS_KEY_HERE
heroku config:set SECRET_ACCESS_KEY=YOUR_SECRET_ACCESS_KEY_HERE
You must set the config vars. Go to your app on Heroku, click Settings and Reveal Config Vars.
Heroku Docs

Heroku fail on precompile

When using git to push to heroku the rake fails on precompile.
I am using ruby 2.0.0
I am using gem 'pg'
I am using fem 'rails_12factor'
Here is the gitHub of the files: https://github.com/ioniz4tion/sample_app/tree/master
Here is the full reoprt :
$ git push heroku master
Fetching repository, done.
Counting objects: 13, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (8/8), done.
Writing objects: 100% (8/8), 697 bytes, done.
Total 8 (delta 6), reused 0 (delta 0)
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
###### WARNING:
Removing `Gemfile.lock` because it was generated on Windows.
Bundler will do a full resolve so native gems are handled properly.
This may result in unexpected gem versions being used in your app.
In rare occasions Bundler may not be able to resolve your dependencies at
all.
https://devcenter.heroku.com/articles/bundler-windows-gemfile
-----> Installing dependencies using 1.6.3
Running: bundle install --without development:test --path vendor/bundle -
-binstubs vendor/bundle/bin -j4
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Using rake 10.3.2
Using i18n 0.6.11
Using json 1.8.1
Using minitest 5.4.0
Using thread_safe 0.3.4
Using builder 3.2.2
Using erubis 2.7.0
Using rack 1.5.2
Using mime-types 1.25.1
Using polyglot 0.3.5
Using arel 5.0.1.20140414130214
Using bundler 1.6.3
Using coffee-script-source 1.7.1
Using execjs 2.2.1
Using thor 0.19.1
Using hike 1.2.3
Using multi_json 1.10.1
Using pg 0.17.1
Using tilt 1.4.1
Using rails_serve_static_assets 0.0.2
Using rails_stdout_logging 0.0.3
Using sass 3.2.19
Using rdoc 4.1.1
Using tzinfo 1.2.2
Using treetop 1.4.15
Using rack-test 0.6.2
Using coffee-script 2.3.0
Using uglifier 2.5.3
Using sprockets 2.11.0
Using rails_12factor 0.0.2
Using sdoc 0.4.1
Using activesupport 4.1.5
Using mail 2.5.4
Using actionview 4.1.5
Using activemodel 4.1.5
Using jbuilder 2.1.3
Using actionpack 4.1.5
Using activerecord 4.1.5
Using actionmailer 4.1.5
Using railties 4.1.5
Using sprockets-rails 2.1.3
Using coffee-rails 4.0.1
Using jquery-rails 3.1.1
Using sass-rails 4.0.3
Using turbolinks 2.3.0
Using rails 4.1.5
Your bundle is complete!
Gems in the groups development and test were not installed.
It was installed into ./vendor/bundle
Bundle completed (4.71s)
Cleaning up the bundler cache.
Removing rspec-expectations (3.0.4)
Removing rspec-rails (3.0.2)
Removing rspec-mocks (3.0.4)
Removing diff-lcs (1.2.5)
Removing rspec-support (3.0.4)
Removing rspec-core (3.0.4)
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
NoMethodError: undefined method `group' for #<SampleApp::Application:0x007f530db1e7e0>
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environments/production.rb:46:in `block in <top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:210:in `instance_eval'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/railtie.rb:210:in `configure'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environments/production.rb:1:in `<top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:594:in `block (2 levels) in <class:Engine>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:593:in `each'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/engine.rb:593:in `block in <class:Engine>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:30:in `run'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `each'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:44:in `tsort_each_child'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:300:in `initialize!'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/config/environment.rb:5:in `<top (required)>'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `block in require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:232:in `load_dependency'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/activesupport-4.1.5/lib/active_support/dependencies.rb:247:in `require'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:276:in `require_environment!'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/railties-4.1.5/lib/rails/application.rb:379:in `block in run_tasks_blocks'
/tmp/build_65e0ceb6-3d44-46ce-9a02-d5dd81ca5d69/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.1.3/lib/sprockets/rails/task.rb:55:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git#heroku.com:pure-sea-9201.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#heroku.com:pure-sea-9201.git'
The error is in your production.rb
group :production do
gem 'pg', '0.15.1'
gem 'rails_12factor', '0.0.2'
end
ruby '2.0.0'
This stuff belongs in the Gemfile, not production.rb

Rails 4 app fails to push to Heroku on account of rack/cache

I have a Rails 4 app that works fine locally but that fails at the precompile assets stage when I try to push to Heroku. The error says cannot load such file -- rack/cache. I have tried adding the gem "rack-cache" to my Gemfile, which has no effect.
Below is an extract of the console whilst pushing.
-----> Removing .DS_Store files
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using Bundler version 1.3.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin --deployment
Fetching gem metadata from https://rubygems.org/........
Fetching gem metadata from https://rubygems.org/..
Fetching git://github.com/grosser/random_records.git
Installing rake (10.1.0)
Installing i18n (0.6.4)
Installing minitest (4.7.5)
Installing multi_json (1.7.7)
Installing atomic (1.1.10)
Installing thread_safe (0.1.0)
Installing tzinfo (0.3.37)
Installing activesupport (4.0.0)
Installing builder (3.1.4)
Installing erubis (2.7.0)
Installing rack (1.5.2)
Installing rack-test (0.6.2)
Installing actionpack (4.0.0)
Installing mime-types (1.23)
Installing polyglot (0.3.3)
Installing treetop (1.4.14)
Installing mail (2.5.4)
Installing actionmailer (4.0.0)
Installing actionpack-action_caching (1.0.0)
Installing activemodel (4.0.0)
Installing activerecord-deprecated_finders (1.0.3)
Installing arel (4.0.0)
Installing activerecord (4.0.0)
Installing bcrypt-ruby (3.0.1)
Installing sass (3.2.9)
Installing bootstrap-sass (2.3.2.0)
Installing carrierwave (0.8.0)
Installing climate_control (0.0.3)
Installing cocaine (0.5.1)
Installing coffee-script-source (1.6.2)
Installing execjs (1.4.0)
Installing coffee-script (2.2.0)
Installing thor (0.18.1)
Installing railties (4.0.0)
Installing coffee-rails (4.0.0)
Installing dalli (2.6.4)
Installing orm_adapter (0.4.0)
Installing warden (1.2.1)
Installing devise (3.0.0.rc)
Installing excon (0.6.6)
Installing fattr (2.2.1)
Installing formatador (0.2.4)
Installing json (1.8.0)
Installing net-ssh (2.6.7)
Installing net-scp (1.1.1)
Installing mini_portile (0.5.0)
Installing nokogiri (1.6.0)
Installing ruby-hmac (0.4.0)
Installing fog (0.9.0)
Installing font-awesome-rails (3.2.1.1)
Installing gmaps4rails (1.5.6)
Installing tilt (1.4.1)
Installing haml (4.0.3)
Installing highline (1.6.19)
Installing hike (1.2.3)
Installing jquery-rails (3.0.1)
Installing jquery-ui-rails (4.0.3)
Installing kaminari (0.14.1)
Installing kgio (2.8.0)
Installing mysql2 (0.3.12b4)
Installing nested_form (0.3.2)
Installing options (2.3.0)
Installing paperclip (3.4.2)
Installing pony (1.5)
Installing pr_geohash (1.0.0)
Installing progress_bar (1.0.0)
Installing protected_attributes (1.0.3)
Installing rack-pjax (0.7.0)
Using bundler (1.3.2)
Installing sprockets (2.10.0)
Installing sprockets-rails (2.0.0)
Installing rails (4.0.0)
Installing remotipart (1.0.5)
Installing safe_yaml (0.9.3)
Installing sass-rails (4.0.0)
Installing rails_admin (0.5.0)
Installing raindrops (0.11.0)
Using random_records (0.2.0) from git://github.com/grosser/random_records.git (at master)
Installing rsolr (1.0.9)
Installing sitemap_generator (4.1.0)
Installing sunspot (2.0.0)
Installing sunspot_rails (2.0.0)
Installing turbolinks (1.2.0)
Installing uglifier (2.1.1)
Installing unicorn (4.6.3)
Your bundle is complete! It was installed into ./vendor/bundle
Post-install message from haml:
HEADS UP! Haml 4.0 has many improvements, but also has changes that may break
your application:
* Support for Ruby 1.8.6 dropped
* Support for Rails 2 dropped
* Sass filter now always outputs <style> tags
* Data attributes are now hyphenated, not underscored
* html2haml utility moved to the html2haml gem
* Textile and Maruku filters moved to the haml-contrib gem
For more info see:
http://rubydoc.info/github/haml/haml/file/CHANGELOG.md
Post-install message from paperclip:
##################################################
# NOTE FOR UPGRADING FROM PRE-3.0 VERSION #
##################################################
Paperclip 3.0 introduces a non-backward compatible change in your attachment
path. This will help to prevent attachment name clashes when you have
multiple attachments with the same name. If you didn't alter your
attachment's path and are using Paperclip's default, you'll have to add
`:path` and `:url` to your `has_attached_file` definition. For example:
has_attached_file :avatar,
:path => ":rails_root/public/system/:attachment/:id/:style/:filename",
:url => "/system/:attachment/:id/:style/:filename"
Post-install message from sitemap_generator:
NOTE: SitemapGenerator 4.x uses a new file naming scheme which is more standards-compliant.
If you're upgrading from 3.x, please see the release note in the README:
https://github.com/kjvarga/sitemap_generator#important-changes-in-version-4
The simple answer is that your index file is now called sitemap.xml.gz
and not sitemap_index.xml.gz, but please take a look and see what else has changed.
Cleaning up the bundler cache.
-----> Writing config/database.yml to read from DATABASE_URL
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
cannot load such file -- rack/cache Be sure to add rack-cache to your Gemfile
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:374:in `load_rack_cache'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:311:in `block in default_middleware_stack'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:308:in `tap'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:308:in `default_middleware_stack'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/engine.rb:494:in `app'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application/finisher.rb:34:in `block in <module:Finisher>'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
/tmp/build_2yeff4uc2n89r/config/environment.rb:7:in `<top (required)>'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `block in require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:213:in `load_dependency'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/dependencies.rb:228:in `require'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:189:in `require_environment!'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/railties-4.0.0/lib/rails/application.rb:249:in `block in run_tasks_blocks'
/tmp/build_2yeff4uc2n89r/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.0.0/lib/sprockets/rails/task.rb:54:in `block (2 levels) in define'
Tasks: TOP => environment
(See full trace by running task with --trace)
!
! Precompiling assets failed.
It may also happen if you set the config.action_dispatch.rack_cache config directive to true. So if you need this directive to be set to true, then you need to add gem 'rack-cache' to your Gemfile and run bundle. And if you don't need it, then just go to your config folder, choose the appropriate config file (application.rb or environments/production.rb) and set the directive to false
config.action_dispatch.rack_cache = false
I was able to solve this problem by deleting Gemfile.lock and running bundle.

Resources