If you install Ruby on Rails 3.1 the gem execjs gets installed by default. I excluded CoffeeScript, because I thought it needed execjs, but execjs wants to be installed anyway. Is execjs now a requirement for Ruby on Rails applications or is there a way to exclude this gem from an installation?
If you comment out all gems relating to the asset pipeline from the Gemfile then execjs will not be installed (and this should work fine in production).
# Gems used only for assets and not required
# in production environments by default.
#group :assets do
# gem 'sass-rails', " ~> 3.1.0"
# gem 'coffee-rails', "~> 3.1.0"
# gem 'uglifier'
#end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With