LoginSignup
3
3

More than 5 years have passed since last update.

WindowsのRails(ExecJs)でTypeError

Posted at

ExecJsとcoffee-script-sourceの仕様が変わったことにより、TypeErrorが出るようになっているようだ。
※ runtimes.rbを編集してもinvalid byte sequence in UTF-8という別のエラーになる
ExecJsの2系とcoffee-script-sourceの1.9の組み合わせがだめみたい。
以下で一時的に対処可能。

Gemfile
gem 'execjs', '~> 1.4.0'
gem 'coffee-script-source', '~> 1.8.0'

参考

3
3
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
3
3