mardi 17 novembre 2020

No such file or directory - java rake aborted

I'm having a rails project running properly on my local machine but when I deploy it on heroku I get the error below. I seem not to understand what I'm not doing well. Initially, the project was using gem bootstrap-will_paginate, I removed it and switched to gem bootstrap. Right now as I have mentioned above, locally, the project is running as expected but when I try to deploy to heroku, I run into the error below. Any assistance will be highly appreciated. Thanks

       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-6128dd44fed3a046ff8d835d677e0a837c70c64dc1c944b7edfde04eb8d8b879.eot
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-6128dd44fed3a046ff8d835d677e0a837c70c64dc1c944b7edfde04eb8d8b879.eot.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-f9853ad337d523c0b35fe7ac306268a7035ce0ff7624710ed8b39c2b88b20a33.eot
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-f9853ad337d523c0b35fe7ac306268a7035ce0ff7624710ed8b39c2b88b20a33.eot.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-e0e3c4af28348d721f8af603595c15d273a56f2b03392f9a413255fe5635f536.eot
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-e0e3c4af28348d721f8af603595c15d273a56f2b03392f9a413255fe5635f536.eot.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-e2749cb24a77208abdd9fda35f0d14f091948c44d21f977c8048a3b13e4beccb.svg
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-e2749cb24a77208abdd9fda35f0d14f091948c44d21f977c8048a3b13e4beccb.svg.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-d42a64dc349a98075e8be12587943f2bd52065a8bb18960d7dc7390b535117e0.svg
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-d42a64dc349a98075e8be12587943f2bd52065a8bb18960d7dc7390b535117e0.svg.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-1a46e780ce5beb6507d62af8b20a92b33c8f042e87c612f4bbf8330bfc353419.svg
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-1a46e780ce5beb6507d62af8b20a92b33c8f042e87c612f4bbf8330bfc353419.svg.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-404d6083193e569bc5c28c7b1bc0e13ece80c6e0f5a50ad8e9633f48f3c09155.ttf
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-404d6083193e569bc5c28c7b1bc0e13ece80c6e0f5a50ad8e9633f48f3c09155.ttf.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-5e811f0b32d488b9a183b77cfc7ac1ef44b3ea7aaed014e83975dfe597d221f6.ttf
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-5e811f0b32d488b9a183b77cfc7ac1ef44b3ea7aaed014e83975dfe597d221f6.ttf.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-2caded242c04139761742fe0cda7f6592df1b6686857532c8a7c2e2536b976e4.ttf
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-2caded242c04139761742fe0cda7f6592df1b6686857532c8a7c2e2536b976e4.ttf.gz
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-a0375c054a0041bd58e2a0bf7fa3df7c3904bfc4f790fd24e32ff3ee70fd0eef.woff
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-6799c999e422710f40f70a60a6138fc38106226c44d7bd1b1023f5bb65befef9.woff
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-aab971ade1633ab836222074ceae0aad8a082d900908f27491b221d6e83998ca.woff
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-brands-400-71b3ce72680f4183d28db86b184542051fd533bb1146933233e4f6a20cf98cba.woff2
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-regular-400-ce20ed8a323117c8a718ff1ddc6dabb997373b575a8e896f2bf02b846c082c9d.woff2
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/font-awesome/fa-solid-900-6b555920e358f8a25a422988b448615c33bcccb4f932e8331cebfc8e2a737fc7.woff2
       2020-11-17 08:37:42 INFO -- Writing /tmp/build_52cf5ac5_/public/assets/flut-086c6ba8919955ef94b7c049b9870b6fd5026b55ea17d8659d1b5e26c74c6b1c.png
       /tmp/build_52cf5ac5_/bin/rake: No such file or directory - java
       rake aborted!
       Command 'java -jar /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/yui-compressor-0.12.0/lib/yui/../yuicompressor-2.4.8.jar --type css --charset utf-8 /tmp/yui_compress20201117-409-dud2hb' returned non-zero exit status
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:106:in `block in compress'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:141:in `streamify'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/yui-compressor-0.12.0/lib/yui/compressor.rb:86:in `compress'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/yui_compressor.rb:49:in `call'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/yui_compressor.rb:28:in `call'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:60:in `block in load'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:317:in `fetch_asset_from_dependency_cache'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/loader.rb:44:in `load'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/cached_environment.rb:47:in `load'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:66:in `find_asset'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:142:in `block in find'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:228:in `block in stat_tree'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:212:in `block in stat_directory'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `each'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:209:in `stat_directory'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/path_utils.rb:227:in `stat_tree'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `each'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `each'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/legacy.rb:104:in `logical_paths'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:140:in `find'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/sprockets/manifest.rb:186:in `compile'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:67:in `block (3 levels) in define'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-3.7.2/lib/rake/sprocketstask.rb:147:in `with_logger'
       /tmp/build_52cf5ac5_/vendor/bundle/ruby/2.6.0/gems/sprockets-rails-3.2.2/lib/sprockets/rails/task.rb:66:in `block (2 levels) in define'
       Tasks: TOP => assets:precompile
       (See full trace by running task with --trace)
 !
 !     Precompiling assets failed.
 !
 !     Push rejected, failed to compile Ruby app.
 !     Push failed

Any assistance will be highly welcome

Aucun commentaire:

Enregistrer un commentaire