LoginSignup
4
2

More than 5 years have passed since last update.

ExecJS::ProgramError対処方法【Rails】

Posted at

ちょいちょい発生するエラーの対象方法を記載します。
調べてもはっきりわかりませんでした(泣

発生エラー

ExecJS_ProgramError.png

対処方法

Gemfileにcoffee-script-sourceを追加します。

Gemfile
gem 'coffee-rails', '~> 4.0.0'
gem 'coffee-script-source', '1.8.0'        #←これを追加

その上でbundle installではなく、以下コマンドを実行します。

bundle update coffee-script-source

解決できているはずです!

4
2
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
4
2