I found this error while running "git push heroku master". I have tried all the available solutions on stackoverflow but doesn't work for me.
gems/sprockets-rails-2.1.3/lib/sprockets/rails/task.rb:60:in `block (2 levels) i
n define'
Tasks: TOP => assets:precompile
(See full trace by running task with --trace)
!
! Precompiling assets failed.
!
! Push rejected, failed to compile Ruby app
To git@heroku.com:aqueous-eyrie-6143.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:aqueous-eyrie- 6143.git'
here is my production log
您应在本地计算机上运行rake assets:precompile RAILS_ENV=production
,然后在推入heroku之前查看production.log
以查找可能的错误。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.