Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added note about adding a javascript runtime to Gemfile for productio…

…n environment.
  • Loading branch information...
commit 198092e2c0a703ca983893aa4527317b3442b5b1 1 parent 5e2bf4d
Ryan Walker authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 railties/guides/source/asset_pipeline.textile
View
8 railties/guides/source/asset_pipeline.textile
@@ -608,3 +608,11 @@ group :assets do
gem 'uglifier'
end
</plain>
+
+Rails 3.1 requires "execjs":https://github.com/sstephenson/execjs - but it doesn't provide a default javascript runtime. When deploying a production app to a system without a pre-existing javascript runtime, you may want to add:
+
+<plain>
+group :production do
+ gem 'therubyracer'
+end
+</plain>
Please sign in to comment.
Something went wrong with that request. Please try again.