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:32:03 +0100 |
commit | c513ae36e0b4054d4671e2e5a76a8a4d7e436b40 (patch) | |
tree | 8d751df40c590c5689d1b7de6143667aad58d49e /railties/lib/rails | |
parent | 0061496d715e8e4b017607a0f95c0aa6d9d5982a (diff) | |
download | rails-c513ae36e0b4054d4671e2e5a76a8a4d7e436b40.tar.gz rails-c513ae36e0b4054d4671e2e5a76a8a4d7e436b40.tar.bz2 rails-c513ae36e0b4054d4671e2e5a76a8a4d7e436b40.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 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 |