Permalink
Browse files

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

…form only
  • Loading branch information...
1 parent 0061496 commit c513ae36e0b4054d4671e2e5a76a8a4d7e436b40 @drogus drogus committed Mar 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/generators/app_base.rb
View
2 railties/lib/rails/generators/app_base.rb
@@ -225,7 +225,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 c513ae3

Please sign in to comment.