Coder Social home page Coder Social logo

Comments (5)

jonmagic avatar jonmagic commented on September 2, 2024

The last time I touched that line was here I think: 3671c1d

Then you have these commits that change it:
7fa3eab#diff-acd95e3665359bdb0f9e7518583032c2
d8a21bc#diff-acd95e3665359bdb0f9e7518583032c2

Do you think you could write a failing test that displays the issue you described?

from grim.

rubikan avatar rubikan commented on September 2, 2024

I created a gist since I didn't want to commit and push a failing test ;)

https://gist.github.com/Rubikan/47e78c147d7a1d93ac8b

I tried it on Mac OSX (created a symlink to gs named gstest) and Windows, but it only failed on Windows.
The error I get looks like this:
Errno::ENOENT: No such file or directory - PATH=.:###########

Instead of the hashes it prints out my whole PATH (or big chunks of it, I didn't check the whole thing)

from grim.

gordcorp avatar gordcorp commented on September 2, 2024

FYI I have the same problem on windows, I fixed it by commenting out that line. With ImageMagick convert and ghostscript on my path, I just had to set the processor with Grim.processor = Grim::ImageMagickProcessor.new({:ghostscript_path => "gswin64c.exe"})
The better fix would be modifying the PATH var in an OS-agnostic way, but that's beyond my Ruby-fu.
Thanks for your work, I'm finding this project useful.

from grim.

jonmagic avatar jonmagic commented on September 2, 2024

@BJgordon thanks for the report and sorry for the late reply. Definitely sounds like this could be handled better. I don't run windows so I'm kind of hoping someone else will figure it out on windows and submit a PR and then I can test it against osx and linux ✨

from grim.

jonmagic avatar jonmagic commented on September 2, 2024

This should be resolved by #27 now.

from grim.

Related Issues (18)

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.