Skip to content

Commit 30364e6

Browse files
committedApr 11, 2012
Disable rails initialization on asset precompilation for Heroku compatibility
1 parent e479f5a commit 30364e6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎config/application.rb

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717

1818
module Kandan
1919
class Application < Rails::Application
20+
# Dealing with Heroku-specific eccentricities
21+
config.assets.initialize_on_precompile = false
22+
2023
# Settings in config/environments/* take precedence over those specified here.
2124
# Application configuration should go into files in config/initializers
2225
# -- all .rb files in that directory are automatically loaded.

0 commit comments

Comments
 (0)