diff options
author | Martin O'Connor <martinoc@gmail.com> | 2012-05-30 21:56:09 -0400 |
---|---|---|
committer | Martin O'Connor <martinoc@gmail.com> | 2012-05-30 21:56:09 -0400 |
commit | 9bbdceb34d33aa31567447e43b5fb5ea638e14fa (patch) | |
tree | 606bd96e651b33f1cb580f04f9499f565115fed5 /railties/lib/rails | |
parent | 4c8805d60e85e89852da9f1df1dd6f82bc2df957 (diff) | |
download | rails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.tar.gz rails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.tar.bz2 rails-9bbdceb34d33aa31567447e43b5fb5ea638e14fa.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.
Updating tests.
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 4b7decee5c..52a2df350f 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', :platform => :ruby\n" + "# gem 'therubyracer', :platforms => :ruby\n" end end |