Skip to content

Instantly share code, notes, and snippets.

@joel-extremo
Created September 30, 2018 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joel-extremo/9ed19d0d2599771fe9892ebd85576dc5 to your computer and use it in GitHub Desktop.
Save joel-extremo/9ed19d0d2599771fe9892ebd85576dc5 to your computer and use it in GitHub Desktop.
error
-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.5.1
###### 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.15.2
Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4
Fetching gem metadata from https://rubygems.org/.........
Fetching version metadata from https://rubygems.org/..
Fetching dependency metadata from https://rubygems.org/.
Resolving dependencies...
Using rake 12.3.1
Using concurrent-ruby 1.0.5
Using minitest 5.11.3
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using crass 1.0.4
Using rack 2.0.5
Using nio4r 2.3.1
Using websocket-extensions 0.1.3
Using mini_mime 1.0.1
Using arel 9.0.0
Using mimemagic 0.3.2
Using msgpack 1.2.4
Using bundler 1.15.2
Using coffee-script-source 1.12.2
Using execjs 2.7.0
Using method_source 0.9.0
Using thor 0.20.0
Using ffi 1.9.25
Using multi_json 1.13.1
Using pg 1.1.3
Using puma 3.12.0
Using rb-fsevent 0.10.3
Using tilt 2.0.8
Using turbolinks-source 5.2.0
Using tzinfo 1.2.5
Using i18n 1.1.0
Using nokogiri 1.8.4
Using websocket-driver 0.7.0
Using mail 2.7.0
Using marcel 0.3.3
Using bootsnap 1.3.2
Using rack-test 1.1.0
Using sprockets 3.7.2
Using coffee-script 2.4.1
Using uglifier 4.1.19
Using rb-inotify 0.9.10
Using turbolinks 5.2.0
Using activesupport 5.2.1
Using loofah 2.2.2
Using sass-listen 4.0.0
Using rails-html-sanitizer 1.0.4
Using rails-dom-testing 2.0.3
Using globalid 0.4.1
Using activemodel 5.2.1
Using jbuilder 2.7.0
Using actionview 5.2.1
Using activejob 5.2.1
Using activerecord 5.2.1
Using sass 3.6.0
Using actionpack 5.2.1
Using actioncable 5.2.1
Using actionmailer 5.2.1
Using activestorage 5.2.1
Using railties 5.2.1
Using sprockets-rails 3.2.1
Using coffee-rails 4.2.2
Using jquery-rails 4.3.3
Using rails 5.2.1
Using sass-rails 5.0.7
Bundle complete! 16 Gemfile dependencies, 62 gems now installed.
Gems in the groups development and test were not installed.
Bundled gems are installed into ./vendor/bundle.
Bundle completed (3.53s)
Cleaning up the bundler cache.
The latest bundler is 1.17.0.pre.1, but you are currently running 1.15.2.
To update, run `gem install bundler --pre`
-----> Installing node-v8.10.0-linux-x64
-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
Running: rake assets:precompile
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
I, [2018-09-30T11:50:35.223890 #390] INFO -- : Writing /tmp/build_01fe83130d19079f77b1b31416482fd7/public/assets/modal-a69ebf55945528727109609c6592155bf1c9efda1e68dd7670ec67b82d738154.css
I, [2018-09-30T11:50:35.224646 #390] INFO -- : Writing /tmp/build_01fe83130d19079f77b1b31416482fd7/public/assets/modal-a69ebf55945528727109609c6592155bf1c9efda1e68dd7670ec67b82d738154.css.gz
I, [2018-09-30T11:50:35.671454 #390] INFO -- : Writing /tmp/build_01fe83130d19079f77b1b31416482fd7/public/assets/modal-09c6e94c9a5fbc35f3bfde6b737f5849f1eaca2a9e0402021c42520df8155726.js
I, [2018-09-30T11:50:35.671654 #390] INFO -- : Writing /tmp/build_01fe83130d19079f77b1b31416482fd7/public/assets/modal-09c6e94c9a5fbc35f3bfde6b737f5849f1eaca2a9e0402021c42520df8155726.js.gz
I, [2018-09-30T11:50:35.683050 #390] INFO -- : Writing /tmp/build_01fe83130d19079f77b1b31416482fd7/public/assets/minions/lose-b33ec547e8e3acd28204df1a7dcd1a3a72ac9ba039e8177f97eefa1823b39877.png
rake aborted!
Uglifier::Error: Unexpected token: name (userOption). To use ES6 syntax, harmony mode must be enabled with Uglifier.new(:harmony => true).
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/uglifier-4.1.19/lib/uglifier.rb:234:in `parse_result'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/uglifier-4.1.19/lib/uglifier.rb:216:in `run_uglifyjs'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/uglifier-4.1.19/lib/uglifier.rb:168:in `compile'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/uglifier_compressor.rb:53:in `call'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/uglifier_compressor.rb:28:in `call'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
/tmp/build_01fe83130d19079f77b1b31416482fd7/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_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
/tmp/build_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
/tmp/build_01fe83130d19079f77b1b31416482fd7/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_01fe83130d19079f77b1b31416482fd7/vendor/bundle/ruby/2.5.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
/tmp/build_01fe83130d19079f77b1b31416482fd7/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_01fe83130d19079f77b1b31416482fd7/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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment