Permalink
Browse files

Rubyracer does not work on ruby, so add it to Gemfile with :ruby plat…

…form only
  • Loading branch information...
1 parent c0a5b85 commit 41815f5d6c096390246ef950e5cb2aa86a68960a @drogus drogus committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/app_base.rb
@@ -234,7 +234,7 @@ def javascript_runtime_gemfile_entry
if defined?(JRUBY_VERSION)
"gem 'therubyrhino'\n"
else
- "# gem 'therubyracer'\n"
+ "# gem 'therubyracer', :platform => :ruby\n"
end
end

0 comments on commit 41815f5

Please sign in to comment.