diff options
author | Martin O'Connor <martinoc@gmail.com> | 2012-05-30 21:25:00 -0400 |
---|---|---|
committer | Martin O'Connor <martinoc@gmail.com> | 2012-05-30 21:25:00 -0400 |
commit | f4d7af67ffc90f2542afa50c7579fc83ea4f45f2 (patch) | |
tree | b4693b3e55ec320ffdcc4669317b457e2d477649 | |
parent | 4056915cf5dd885186465f63dce0ad9caf6e60f8 (diff) | |
download | rails-f4d7af67ffc90f2542afa50c7579fc83ea4f45f2.tar.gz rails-f4d7af67ffc90f2542afa50c7579fc83ea4f45f2.tar.bz2 rails-f4d7af67ffc90f2542afa50c7579fc83ea4f45f2.zip |
Changed symbol platform to platforms for the commented out call to gem 'therubyracer'.
Dependency.rb expects the symbol to be named :platforms as opposed to platform. RubyMine's inspections indicate that the symbol should be named :platforms.
-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 2c1742c6be..5838c9fc38 100644 --- a/railties/lib/rails/generators/app_base.rb +++ b/railties/lib/rails/generators/app_base.rb @@ -230,7 +230,7 @@ module Rails if defined?(JRUBY_VERSION) "gem 'therubyrhino'\n" else - "# gem 'therubyracer', platform: :ruby\n" + "# gem 'therubyracer', platforms: :ruby\n" end end |