From c513ae36e0b4054d4671e2e5a76a8a4d7e436b40 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Sat, 17 Mar 2012 23:30:28 +0100 Subject: Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform only --- railties/lib/rails/generators/app_base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/lib/rails') diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 8e9083e6eb..bb2a9fcf22 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -225,7 +225,7 @@ module Rails if defined?(JRUBY_VERSION) "gem 'therubyrhino'\n" else - "# gem 'therubyracer'\n" + "# gem 'therubyracer', :platform => :ruby\n" end end -- cgit v1.2.3