问题:railsRunner“开始;将%Q {heroku.detecting.config.for.assets.compile =#{Rails.application.config.try(:assets)

时间:2019-05-22 09:25:08

标签: heroku

我试图将代码推送到Heroku以获得最新的更新版本,但是遇到错误:

$ rails runner "begin; puts %Q{heroku.detecting.config.for.assets.compile=#{Rails.application.config.try(:assets).try(:compile)}}; rescue => e; puts e; puts e.backtrace; end; begin; puts %Q{heroku.detecting.config.for.action_dispatch.x_sendfile_header=#{Rails.application.config.try(:action_dispatch).try(:x_sendfile_header)}}; rescue => e; puts e; puts e.backtrace; end; begin; puts %Q{heroku.detecting.config.for.active_storage.service=#{Rails.application.config.try(:active_storage).try(:service)}}; rescue => e; puts e; puts e.backtrace; end;"

任何想法如何解决。我也试着问一些专家,他们似乎也不知道是什么问题。

我还尝试通过heroku run bash复制以产生问题,这里的屏幕截图详细信息: heroku run bash

heroku run rails console                                                                                127 ↵  10710  11:22:44
Running rails console on ⬢ musqueteer... up, run.6888 (Hobby)
Loading production environment (Rails 5.2.3)

irb(main):001:0>
irb(main):002:0> Rails.application.config.try(:assests).try(:compile)
=> nil

0 个答案:

没有答案