Rails4への移行時に出る、 DEPRECATION WARNING: config.whiny_nils option is deprecated and no longer works.
Rails3からRails4へ移行しようとするも、表題のエラーが出てプリコンパイルが通らない。
config/environments/development.rbの下記の行をコメントアウトする。
# Log error messages when you accidentally call methods on nil
config.whiny_nils = true
参考にさせて頂いた記事:
Update-rails4 - Nakajijapan
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で入れよということ。