diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-09-04 21:17:23 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2011-09-04 21:17:23 -0500 |
commit | 8df4fb1bb4e5109f734f396625efd8446253fbd4 (patch) | |
tree | 12d21119d784dc1422352e315270272797f28920 /railties/guides | |
parent | a1dbd94b60ee4118e4706f7bb3a416fcc215e0b5 (diff) | |
download | rails-8df4fb1bb4e5109f734f396625efd8446253fbd4.tar.gz rails-8df4fb1bb4e5109f734f396625efd8446253fbd4.tar.bz2 rails-8df4fb1bb4e5109f734f396625efd8446253fbd4.zip |
Add reference about "bundle install --without assets" in Precompiling Assets section.
Diffstat (limited to 'railties/guides')
-rw-r--r-- | railties/guides/source/asset_pipeline.textile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/railties/guides/source/asset_pipeline.textile b/railties/guides/source/asset_pipeline.textile index fdb18651dc..1b2e81dc8b 100644 --- a/railties/guides/source/asset_pipeline.textile +++ b/railties/guides/source/asset_pipeline.textile @@ -348,6 +348,8 @@ This links the folder specified in +config.assets.prefix+ to +shared/assets+. If It is important that this folder is shared between deployments so that remotely cached pages that reference the old compiled assets still work for the life of the cached page. +Note: If you are precompiling your assets locally you can use +bundle install --without assets+ when installing the gems on the server to avoid install of the assets gems (the gems in the assets group in the Gemfile). + The default matcher for compiling files includes +application.js+, +application.css+ and all files that do not end in +js+ or +css+: <ruby> |