Skip to content

Instantly share code, notes, and snippets.

@jrfent
Created December 22, 2015 00:40
Show Gist options
  • Save jrfent/fdbeac9620e048167be8 to your computer and use it in GitHub Desktop.
Save jrfent/fdbeac9620e048167be8 to your computer and use it in GitHub Desktop.
My Big error pushing to Heroku
JRs-MacBook-Pro:pilotcar jrfent$ git commit -m "updated rails"
[master 5b2d0b8] updated rails
2 files changed, 33 insertions(+), 38 deletions(-)
JRs-MacBook-Pro:pilotcar jrfent$ git push
Counting objects: 4, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 563 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
To https://github.com/jrfent/pilotcar.git
c9ad398..5b2d0b8 master -> master
JRs-MacBook-Pro:pilotcar jrfent$ git push heroku master
Counting objects: 419, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (399/399), done.
Writing objects: 100% (419/419), 707.74 KiB | 0 bytes/s, done.
Total 419 (delta 116), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Ruby app detected
remote: -----> Compiling Ruby/Rails
remote: -----> Using Ruby version: ruby-2.0.0
remote: -----> Installing dependencies using bundler 1.9.7
remote: Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deployment
remote: Fetching gem metadata from https://rubygems.org/.............
remote: Fetching version metadata from https://rubygems.org/...
remote: Fetching dependency metadata from https://rubygems.org/..
remote: Rubygems 2.0.14.1 is not threadsafe, so your gems must be installed one at a time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
remote: Installing rake 10.4.2
remote: Installing i18n 0.7.0
remote: Installing json 1.8.3
remote: Installing minitest 5.8.3
remote: Installing thread_safe 0.3.5
remote: Installing tzinfo 1.2.2
remote: Installing activesupport 4.1.14
remote: Installing builder 3.2.2
remote: Installing erubis 2.7.0
remote: Installing actionview 4.1.14
remote: Installing rack 1.5.5
remote: Installing rack-test 0.6.3
remote: Installing actionpack 4.1.14
remote: Installing mime-types 2.99
remote: Installing mail 2.6.3
remote: Installing actionmailer 4.1.14
remote: Installing activemodel 4.1.14
remote: Installing arel 5.0.1.20140414130214
remote: Installing activerecord 4.1.14
remote: Installing fastercsv 1.5.5
remote: Installing area 0.10.0
remote: Installing execjs 2.6.0
remote: Installing autoprefixer-rails 6.2.1
remote: Installing nokogiri 1.5.11
remote: Installing uuidtools 2.1.5
remote: Installing aws-sdk 1.20.0
remote: Installing bcrypt 3.1.10
remote: Installing sass 3.4.20
remote: Installing bootstrap-sass 3.3.6
remote: Installing coffee-script-source 1.10.0
remote: Installing coffee-script 2.4.1
remote: Installing thor 0.19.1
remote: Installing railties 4.1.14
remote: Installing coffee-rails 4.1.1
remote: Installing concurrent-ruby 1.0.0
remote: Installing date_validator 0.8.1
remote: Installing orm_adapter 0.5.0
remote: Installing warden 1.2.4
remote: Installing devise 3.3.0
remote: Installing multi_json 1.11.2
remote: Installing jbuilder 1.5.3
remote: Installing jquery-rails 3.1.4
remote: Installing sprockets 3.5.2
remote: Installing sprockets-rails 2.3.3
remote: Installing tilt 2.0.1
remote: Installing sass-rails 5.0.4
remote: Installing jquery-datatables-rails 2.2.3
remote: Installing turbolinks 2.5.3
remote: Installing jquery-turbolinks 2.1.0
remote: Installing lodash-rails 3.10.1
remote: Installing pg 0.18.4
remote: Using bundler 1.9.7
remote: Installing rails 4.1.14
remote: Installing rails_serve_static_assets 0.0.4
remote: Installing rails_stdout_logging 0.0.4
remote: Installing rails_12factor 0.0.3
remote: Installing rdoc 4.2.0
remote: Installing sdoc 0.4.1
remote: Installing simple_form 3.2.1
remote: Installing uglifier 2.7.2
remote: Installing will_paginate 3.0.7
remote: Installing will_paginate-bootstrap 1.0.1
remote: Bundle complete! 24 Gemfile dependencies, 62 gems now installed.
remote: Gems in the groups development and test were not installed.
remote: Bundled gems are installed into ./vendor/bundle.
remote: Post-install message from rdoc:
remote: Depending on your version of ruby, you may need to install ruby rdoc/ri data:
remote: <= 1.8.6 : unsupported
remote: = 1.8.7 : gem install rdoc-data; rdoc-data --install
remote: = 1.9.1 : gem install rdoc-data; rdoc-data --install
remote: >= 1.9.2 : nothing to do! Yay!
remote: Bundle completed (54.23s)
remote: Cleaning up the bundler cache.
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: rake aborted!
remote: ExecJS::ProgramError: Unexpected token keyword «if», expected punc «{» (line: 18080, col: 2, pos: 509470)
remote: Error
remote: at new JS_Parse_Error (/tmp/execjs20151222-1026-1tr80m2js:2659:11936)
remote: at js_error (/tmp/execjs20151222-1026-1tr80m2js:2659:12155)
remote: at croak (/tmp/execjs20151222-1026-1tr80m2js:2659:20622)
remote: at token_error (/tmp/execjs20151222-1026-1tr80m2js:2659:20759)
remote: at expect_token (/tmp/execjs20151222-1026-1tr80m2js:2659:20982)
remote: at expect (/tmp/execjs20151222-1026-1tr80m2js:2659:21120)
remote: at block_ (/tmp/execjs20151222-1026-1tr80m2js:2659:26121)
remote: at ctor.body (/tmp/execjs20151222-1026-1tr80m2js:2659:25832)
remote: at function_ (/tmp/execjs20151222-1026-1tr80m2js:2659:25897)
remote: at /tmp/execjs20151222-1026-1tr80m2js:2659:22848
remote: at /tmp/execjs20151222-1026-1tr80m2js:2659:21493new JS_Parse_Error ((execjs):2659:11936)
remote: js_error ((execjs):2659:12155)
remote: croak ((execjs):2659:20622)
remote: token_error ((execjs):2659:20759)
remote: expect_token ((execjs):2659:20982)
remote: expect ((execjs):2659:21120)
remote: block_ ((execjs):2659:26121)
remote: ctor.body ((execjs):2659:25832)
remote: function_ ((execjs):2659:25897)
remote: (execjs):2659:22848
remote: (execjs):2659:21493
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:39:in `exec'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:21:in `eval'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/execjs-2.6.0/lib/execjs/external_runtime.rb:46:in `call'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/uglifier-2.7.2/lib/uglifier.rb:212:in `run_uglifyjs'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/uglifier-2.7.2/lib/uglifier.rb:179:in `compile'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/uglifier_compressor.rb:52:in `call'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/uglifier_compressor.rb:28:in `call'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:in `call_processor
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:60:in `block in load'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/loader.rb:44:in `load'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in `yield'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in `load'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:66:in `find_asset'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:142:in `block in find'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:225:in `block in stat_tree
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:209:in `block in stat_directory'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `each'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `stat_directory'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/path_utils.rb:224:in `stat_tree'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `each'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `block in logical_paths
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `each'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `logical_paths'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:140:in `find'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/sprockets/manifest.rb:168:in `compile'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:70:in `block (3 levels) in define'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-3.5.2/lib/rake/sprocketstask.rb:147:in `with_logger'
remote: /tmp/build_af46c00269519aa6ca8a59d0c980cb35/vendor/bundle/ruby/2.0.0/gems/sprockets-rails-2.3.3/lib/sprockets/rails/task.rb:69:in `block (2 levels) in define'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: !
remote: ! Precompiling assets failed.
remote: !
remote:
remote: ! Push rejected, failed to compile Ruby app
remote:
remote: Verifying deploy...
remote:
remote: ! Push rejected to pilotcarfinder.
remote:
To https://git.heroku.com/pilotcarfinder.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/pilotcarfinder.git'
@kevmusic
Copy link

So? solutions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment