Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在本地机器上预编译了我的资产,但是当我将它推送到 heroku 时,我的所有资产都不再可用,它们似乎没有编译。
我最近不得不重新安装 rails/ruby/rvm,这是错误开始发生的时候。
让我知道我是否可以为您提供更多信息。
在 /config/environments/production. 放:
config.cache_classes = true config.serve_static_assets = true config.assets.compile = true config.assets.digest = true