diff options
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r-- | config/environments/development.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb index c796a73..fd07da7 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -27,6 +27,17 @@ LeapPublicSite::Application.configure do config.assets.debug = true ## + ## This allows us to commit the pre-compiled assets into git, but not use them + ## in development mode. The advantage is that the server does not need to recompile the assets + ## each time you deploy. The disadvantage is that you must remember to run + ## + ## rake assets:precompile RAILS_ENV=production + ## + ## The RAILS_ENV part is required. + ## + config.assets.prefix = "/assets_dev" + + ## ## disabled for now, because no active record is loaded ## |