Giter VIP home page Giter VIP logo

Comments (11)

parndt avatar parndt commented on August 12, 2024

I think that this gem does something naughty with the database upon initialize (like accessing a model,etc) that prevents the config.assets.initialize_on_precompile = true case working.

from refinerycms-page-images.

robyurkowski avatar robyurkowski commented on August 12, 2024

Sorry for terseness, but here's a quick fix: https://devcenter.heroku.com/articles/labs-user-env-compile

from refinerycms-page-images.

parndt avatar parndt commented on August 12, 2024

Yeah; I understand why you're doing it. :-)

Please see refinery/refinerycms#1751

from refinerycms-page-images.

andrewhavens avatar andrewhavens commented on August 12, 2024

@robyurkowski that was a quick fix: https://devcenter.heroku.com/articles/labs-user-env-compile
@parndt I think you are answering a comment I quickly deleted because I realized that I misread your original comment. =]

from refinerycms-page-images.

hayksaakian avatar hayksaakian commented on August 12, 2024

was this ever resolved? I'm still seeing this issue on

gem "refinerycms-page-images", :git => "git://github.com/resolve/refinerycms-page-images.git", :branch => "2-0-stable"

from refinerycms-page-images.

parndt avatar parndt commented on August 12, 2024

Did you enable user-env-compile?

from refinerycms-page-images.

hayksaakian avatar hayksaakian commented on August 12, 2024

I just did, and it worked.

However, it's not clear to me what the actual root of the problem is however.

The only config/vars I added for this gem was my s3 configuration (keys/bucket/etc) -- and I don't know why it'd be needed during asset pre-compilation.

If "that's just the way it is" I think this would be important to put in the readme to save everyone a few minutes of their life.

from refinerycms-page-images.

parndt avatar parndt commented on August 12, 2024

Sure, could you please send a pull request? It's just the way it is with Heroku and this extension, unfortunately.

from refinerycms-page-images.

parndt avatar parndt commented on August 12, 2024

Fixed by #85

from refinerycms-page-images.

LoganDSPrice avatar LoganDSPrice commented on August 12, 2024

@parndt How is this issue fixed now that Heroku has deprecated user-env-compile?

from refinerycms-page-images.

parndt avatar parndt commented on August 12, 2024

@LoganDSPrice have you encountered the issue?

from refinerycms-page-images.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.