Skip to content

Heroku pre-compiling assets fails after Heroku deprecated user-env-compile #146

Open
@LoganDSPrice

Description

@LoganDSPrice

In the Deploying to Heroku section, the instructions state to run heroku labs:enable user-env-compile -a myapp in order to properly precompile assets. Heroku has since deprecated that.

I've found reference to the Buildpack API, but I don't understand it and how it relates to the precompiling issues with refinerycms-page-images.

I'm getting:

remote: Bundle completed (37.20s)
remote: Cleaning up the bundler cache.
remote: -----> Installing node-v6.10.0-linux-x64
remote: -----> Detecting rake tasks
remote: -----> Preparing app for Rails asset pipeline
remote: Running: rake assets:precompile
remote: PageImages is unable to find model class: Refinery::Project
remote: PageImages is unable to find model class: Refinery::TeamMember
remote: I, [2017-06-19T22:48:46.443418 #1616] INFO -- : Writing /tmp/build_90b279a9215d270edbde0c7b129f78ce/public/assets/font-awesome/fontawesome-webfont-7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979.eot
remote: I, [2017-06-19T22:48:46.444823 #1616] INFO -- : Writing /tmp/build_90b279a9215d270edbde0c7b129f78ce/public/assets/font-awesome/fontawesome-webfont-7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979.eot.gz

... and so on.

It seems like there has to be a new method for deploying to Heroku while using refinerycms-page-images.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions