-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Heroku error when using config.assets.initialize_on_precompile = false #1046
Comments
I asked Heroku support and got this reply
I guess i have to add the "rails_admin.css" and .js to "config.assets.precompile". Will test and report. |
It worked, here is the solution
|
+1 thanks drale2k, that solved it for me too. |
I ran into this issue and found the same fix, but now that I've done that, deployment to Heroku seems to freeze at "Running: rake assets:precompile." The weird thing is, deployment is actually still successful (I checked heroku logs, site, etc.), but for some reason my local command line freezes there. Anyone else encounter that after adding those files to the precompile list? |
I've not deployed for some time now but the terminal did not freeze for me. |
+1 That was exactly my issue. Thanks, my man. |
+1 my issue also. @ngottlieb I found this took 2-3 minutes to complete on my machine (well my VM).. so maybe you weren't patient enough (I'll admit I wasn't the first 2 times I tried) |
thanks ran into this issue also |
Using:
Rails 3.2.0
bootstrap-sass 2.0.1
latest Rails_Admin
Heroku requires to use
for assets:precompile to work. Now after setting that i can't access Rails Admin on heroku anymore. Having aseets:precompile working is really important for me since it takes up to 20 seconds sometimes to load the app after a deploy.
This is the error from the logs
Using this did not help either:
Anything i can do?
The text was updated successfully, but these errors were encountered: