LoginSignup
5
6

More than 5 years have passed since last update.

Herokuで「Precompiling assets failed.」と出たときの対処法

Posted at

事象

以下のコマンドを実行し、herokuへデプロイした

git push heroku master

エラーが発生

Precompiling assets failed.

対応

以下のコードを
config > application.rbに追加

application.rb
config.assets.initialize_on_precompile = false
5
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
6