-
Notifications
You must be signed in to change notification settings - Fork 534
Precompilation fails #25
Comments
I am also having the same issues after having tried all of the above fixes |
And seems no one has a solution to it either. |
add :digest => false to all the asset_path in user.rb like below: "image" => ActionController::Base.helpers.asset_path("refer/cream-tooltip@2x.png" , :digest => false) and that should fix the problem |
If you follow the instructions on https://devcenter.heroku.com/articles/getting-started-with-rails3, and that should fix the issue. |
Copying what I wrote for #2: I followed the instructions suggested by @adamnbowen in #25 from Heroku's guide to deploying a Rails3 app https://devcenter.heroku.com/articles/getting-started-with-rails3 and got it to work: Add this to config.assets.initialize_on_precompile = false I also had to edit the procfile to match the one presented in the tutorial, ensure unicorn gem was added, make sure no sqlite3 gem. This allowed me to deploy this Rails 3.2.13 app (updated app from 3.2.11 to 3.2.13 to get rid of the Formtastic warning). |
is this still an issue? i'm not aware of this being investigated when we upgraded to rails 4 but am curious to know if those here have tried it since then. |
@phamdt no, doesn't seem to be an issue any more. |
This is the same issue raise in 2#!
The two solutions provided there doesn't fix the issue for me:
Solution 1 was to turn on user-env-compile on heroku by issuing
heroku labs:enable user-env-compile
But
user-env-compile
is deprecated and so can't use that.Solution 2 was by adding the following line to
production.rb
config.assets.initialize_on_precompile = false
Tried that also, but doesn't work
Any more help would be appreciated.
The text was updated successfully, but these errors were encountered: