aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails
diff options
context:
space:
mode:
authorMartin O'Connor <martinoc@gmail.com>2012-05-30 21:25:00 -0400
committerMartin O'Connor <martinoc@gmail.com>2012-05-30 21:25:00 -0400
commitf4d7af67ffc90f2542afa50c7579fc83ea4f45f2 (patch)
treeb4693b3e55ec320ffdcc4669317b457e2d477649 /railties/lib/rails
parent4056915cf5dd885186465f63dce0ad9caf6e60f8 (diff)
downloadrails-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.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r--railties/lib/rails/generators/app_base.rb2
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