From 4b41f8bf4178adbfbc277194c3ea0d24799add38 Mon Sep 17 00:00:00 2001 From: Steven Hancock Date: Mon, 2 Apr 2012 01:26:18 -0700 Subject: [PATCH] Add a comment about JS runtimes to Gemfile As mentioned in #3078 there may be some confusion about the asset pipeline's dependency on an ExecJS compatible javascript runtime. On OSX it should just work, Linux needs Node.js (recommended) or TheRubyRacer. This adds a comment to the :assets group to give people more information. --- Gemfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Gemfile b/Gemfile index 2f47e9fd0..18202f6b7 100644 --- a/Gemfile +++ b/Gemfile @@ -109,6 +109,14 @@ gem 'client_side_validations' group :assets do gem 'sass-rails', '3.1.4' + + # Windows and OSX have an execjs compatible runtime built-in, Linux users should + # install Node.js or use 'therubyracer'. + # + # See https://github.com/sstephenson/execjs#readme for more supported runtimes + + # gem 'therubyracer', :platform => :ruby + gem 'handlebars_assets' gem 'uglifier' end