コードビート

プログラミングのメモ




bundle install時の "You may need to add a javascript runtime"

 

bundle install時に出るエラー、というか忠告。

 

     Post-install message from twitter-bootswatch-rails:

       Important: You may need to add a javascript runtime to your Gemfile in order for bootstrap's LESS files to compile to CSS.

       **********************************************

       ExecJS supports these runtimes:

       therubyracer - Google V8 embedded within Ruby

       therubyrhino - Mozilla Rhino embedded within JRuby

       Node.js

       ********************************************** 

 

解決したコマンド。

 

gem install execjs

 

 

 

Gemfileにexecjs書くのではなく、gem installで入れよということ。