Skip to content

Commit

Permalink
Changed symbol platform to platforms for the commented out call to ge…
Browse files Browse the repository at this point in the history
…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
martinoconnor committed May 31, 2012
1 parent 4056915 commit f4d7af6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/generators/app_base.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def javascript_runtime_gemfile_entry
if defined?(JRUBY_VERSION) if defined?(JRUBY_VERSION)
"gem 'therubyrhino'\n" "gem 'therubyrhino'\n"
else else
"# gem 'therubyracer', platform: :ruby\n" "# gem 'therubyracer', platforms: :ruby\n"
end end
end end


Expand Down

0 comments on commit f4d7af6

Please sign in to comment.