Skip to content

Instantly share code, notes, and snippets.

@codelion
Created May 14, 2015 14:08
Show Gist options
  • Save codelion/dd4d3aa5c6e8444e2c37 to your computer and use it in GitHub Desktop.
Save codelion/dd4d3aa5c6e8444e2c37 to your computer and use it in GitHub Desktop.
Error while deploying on heroku
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
rake aborted!
Sprockets::FileNotFound: couldn't find file 'turbolinks' with type 'application/javascript'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/app/assets/javascripts/application.js:15
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/resolve.rb:64:in `resolve!'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:399:in `resolve'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:207:in `process_require_directive'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:180:in `block in process_directives'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:178:in `each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:178:in `process_directives'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:83:in `_call'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/directive_processor.rb:68:in `call'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:86:in `load_asset_by_uri'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:45:in `block in load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:38:in `load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:47:in `yield'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/bundle.rb:23:in `block in call'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/utils.rb:183:in `dfs'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/bundle.rb:24:in `call'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:86:in `load_asset_by_uri'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:45:in `block in load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:156:in `fetch_asset_from_dependency_cache'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/loader.rb:38:in `load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:47:in `yield'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/base.rb:63:in `find_asset'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/base.rb:70:in `find_all_linked_assets'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/manifest.rb:138:in `block in find'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/path_utils.rb:223:in `block in stat_tree'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/path_utils.rb:207:in `block in stat_directory'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/path_utils.rb:204:in `each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/path_utils.rb:204:in `stat_directory'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/path_utils.rb:222:in `stat_tree'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/legacy.rb:105:in `each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/legacy.rb:104:in `each'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/legacy.rb:104:in `logical_paths'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/manifest.rb:136:in `find'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/sprockets/manifest.rb:162:in `compile'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-3.1.0/lib/rake/sprocketstask.rb:147:in `with_logger'
/tmp/build_9594f39b4726bbe08ca2d4d9a61e4e3f/Okyasoft-instajobs-0ab69e3/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.1/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
There is a configuration error with the current mongoid.yml.
Problem:
No sessions configuration provided.
Summary:
Mongoid's configuration requires that you provide details about each session that can be connected to, and requires in the sessions config at least 1 default session to exist.
Resolution:
Double check your mongoid.yml to make sure that you have a top-level sessions key with at least 1 default session configuration for it. You can regenerate a new mongoid.yml for assistance via `rails g mongoid:config`.
Example:
development:
sessions:
default:
database: mongoid_dev
hosts:
- localhost:27017
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment