Skip to content

Commit

Permalink
Add reference about "bundle install --without assets" in Precompiling…
Browse files Browse the repository at this point in the history
… Assets section.
  • Loading branch information
guilleiguaran committed Sep 5, 2011
1 parent a1dbd94 commit 8df4fb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions railties/guides/source/asset_pipeline.textile
Expand Up @@ -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>
Expand Down

0 comments on commit 8df4fb1

Please sign in to comment.