Permalink
Browse files

Changed symbol platform to platforms for the commented out call to ge…

…m '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.
  • Loading branch information...
1 parent 4056915 commit f4d7af67ffc90f2542afa50c7579fc83ea4f45f2 @martinoconnor martinoconnor committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/app_base.rb
@@ -230,7 +230,7 @@ def javascript_runtime_gemfile_entry
if defined?(JRUBY_VERSION)
"gem 'therubyrhino'\n"
else
- "# gem 'therubyracer', platform: :ruby\n"
+ "# gem 'therubyracer', platforms: :ruby\n"
end
end

0 comments on commit f4d7af6

Please sign in to comment.