Permalink
Browse files

Add reference about "bundle install --without assets" in Precompiling…

… Assets section.
  • Loading branch information...
1 parent a1dbd94 commit 8df4fb1bb4e5109f734f396625efd8446253fbd4 @guilleiguaran guilleiguaran committed Sep 5, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 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>

0 comments on commit 8df4fb1

Please sign in to comment.