macをcatalina 10.15.4にアップデートしたらrails sでエラー出たので解決方法記載(autodetect’: Could not find a JavaScript runtime)
掲題の通り自分で解決できた方法書いておきます。
エラー内容は下記のようなもの。
アップデートとの因果関係は明確には分かりませんが試してみてください。
autodetect’: Could not find a JavaScript runtime.
実行したのはかきの2パターンなのでまず上から試してみて下さい
gemファイルに書き追記
gem 'therubyracer'
gem 'libv8'
でbundle install
次が下記です。
brew install nodejs
試してみてください
Author And Source
この問題について(macをcatalina 10.15.4にアップデートしたらrails sでエラー出たので解決方法記載(autodetect’: Could not find a JavaScript runtime)), 我々は、より多くの情報をここで見つけました https://qiita.com/fkoyo/items/26eb6a741d05700860db著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .