Giter VIP home page Giter VIP logo

Comments (4)

jasonfine avatar jasonfine commented on June 21, 2024 1

Upon closer inspection, i think this is due to missing binaries.

Thanks for your time

from image_optim.

toy avatar toy commented on June 21, 2024

From the error looks like running pngout 2>&1 in your environment gives a string that can't be converted to UTF-8.
What does running `pngout 2>&1` output and what is the encoding of the string?
And environment questions:
Is it dependant on ruby version and presence of rails?
Is it plain irb, rails console or something else?
Something special about the environment?

from image_optim.

jasonfine avatar jasonfine commented on June 21, 2024

What does running pngout 2>&1 output and what is the encoding of the string?

Sorry - where should i run this command?

And environment questions:
Is it dependant on ruby version and presence of rails?

This started happening after upgrading Ruby 3.1 to 3.2, and yes this is in the context of a Rails 7.0.4 app.

Is it plain irb, rails console or something else?

Rails console

Something special about the environment?

Using Docker

from image_optim.

toy avatar toy commented on June 21, 2024

Sorry - where should i run this command?

In the same console, as ImageOptim.new

Using Docker

Would you be able to create minimal reproducible example then?

from image_optim.

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.