Browse files

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

…n environment.
  • Loading branch information...
1 parent 5e2bf4d commit 198092e2c0a703ca983893aa4527317b3442b5b1 Ryan Walker committed Sep 6, 2011
Showing with 8 additions and 0 deletions.
  1. +8 −0 railties/guides/source/asset_pipeline.textile
@@ -608,3 +608,11 @@ group :assets do
gem 'uglifier'
+Rails 3.1 requires "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:
+group :production do
+ gem 'therubyracer'

0 comments on commit 198092e

Please sign in to comment.