aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Walker <ryan@recruitmilitary.com>2011-09-06 14:06:34 -0300
committerRyan Walker <ryan@recruitmilitary.com>2011-09-06 14:06:34 -0300
commit198092e2c0a703ca983893aa4527317b3442b5b1 (patch)
tree9eddc0f37a1acc320e2ac1acc7617f62451f702d
parent5e2bf4de62014820798b271e97fa010ddc1a7e02 (diff)
downloadrails-198092e2c0a703ca983893aa4527317b3442b5b1.tar.gz
rails-198092e2c0a703ca983893aa4527317b3442b5b1.tar.bz2
rails-198092e2c0a703ca983893aa4527317b3442b5b1.zip
Added note about adding a javascript runtime to Gemfile for production environment.
-rw-r--r--railties/guides/source/asset_pipeline.textile8
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile
index e4f1e0c41a..b6f8d607b9 100644
--- a/railties/guides/source/asset_pipeline.textile
+++ b/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>