Giter Club home page Giter Club logo

Comments (5)

dbkbali avatar dbkbali commented on July 18, 2024

I am having the same problem as well update to paperclip 2.3.3 on rails 2.3.8 with bundler installed

from papermill.

dbkbali avatar dbkbali commented on July 18, 2024

I think I have a solution for rails 2.3.8 which uses bundler after reading this article http://patshaughnessy.net/2010/5/23/how-to-install-paperclip-in-a-rails-3-app - The reason I read it was I sensed that bundler was causing the problem. To solve I generated the papermill_assets migration from an app without bundler and copied it over to my current project. then at the top of the papermill.rb initializer I added Paperclip::Railtie.insert.

from papermill.

dynamick avatar dynamick commented on July 18, 2024

Great! Perfect now it works!
Thanks dbkrett!

from papermill.

bbenezech avatar bbenezech commented on July 18, 2024

From what I've seen, Papermill is NOT compatible with Paperclip 2.3.3 (can't generate Thumbs)
I forced Paperclip 2.2.1.1 in last Papermill release until I found a workaround.

Thanks for the tip anyway, I'll need it to early-load Paperclip (as you've found out).

If Paperclip is compatible Rails3, I'll go for a Rails3 branch as soon as the RC is out.

Tell me if Papermill 2.1.0 does it for you (it includes a few other bugfixes)

Cheers !

from papermill.

dbkbali avatar dbkbali commented on July 18, 2024

Benoit, great plug-in, one of the best I have found for multi-image with paperclip, I noticed from the server log, that with Paperclip 2.3.3 the thumbs were failing on the imagick convert command specifically the resize to file name has no extension. Was trying to track down in your code whether this was a paperclip problem or specific to how the file extension name is generated in papermill - gave up and tried to download your update as a gem but as you had only recently modified it I had problems, as gemcutter and github were serving me 2.0.2 as the latest version. I will try again tomorrow and let you know how it goes. Many thanks for producing a nice gem.

Regards

David

from papermill.

Related Issues (16)

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.