diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2012-03-17 23:30:28 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2012-03-17 23:30:28 +0100 |
commit | 41815f5d6c096390246ef950e5cb2aa86a68960a (patch) | |
tree | 9760432b8e12380ad7d3cac593cbea74a5ad3a67 /railties/lib/rails | |
parent | c0a5b8505d0fa9095cbee8b709f9aadf630a3716 (diff) | |
download | rails-41815f5d6c096390246ef950e5cb2aa86a68960a.tar.gz rails-41815f5d6c096390246ef950e5cb2aa86a68960a.tar.bz2 rails-41815f5d6c096390246ef950e5cb2aa86a68960a.zip |
Rubyracer does not work on ruby, so add it to Gemfile with :ruby platform only
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/app_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/app_base.rb b/railties/lib/rails/generators/app_base.rb index 1ebe56c6ab..a942c11518 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -234,7 +234,7 @@ module Rails if defined?(JRUBY_VERSION) "gem 'therubyrhino'\n" else - "# gem 'therubyracer'\n" + "# gem 'therubyracer', :platform => :ruby\n" end end |