Skip to content

Commit

Permalink
Documents the need to indicate subfolder when precompiling assets
Browse files Browse the repository at this point in the history
  • Loading branch information
hectorcorrea committed Sep 26, 2017
1 parent 6875363 commit 2259dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ set the config option `action_controller.relative_url_root`:
The default value of this variable is taken from `ENV['RAILS_RELATIVE_URL_ROOT']`,
so configuring the environment to define `RAILS_RELATIVE_URL_ROOT` is an alternative strategy.

In addition you need to indicate the subfolder when you *precompile* the assets:

RAILS_ENV=production bundle exec rake assets:precompile RAILS_RELATIVE_URL_ROOT=/myrailsapp

### Rails 3.2

**Note:** In Rails 3.2, make sure font-awesome-rails is outside the bundler asset group
Expand Down

0 comments on commit 2259dca

Please sign in to comment.