Comments (5)
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.
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.
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.
@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.
This should be resolved by #27 now.
from grim.
Related Issues (18)
- MongoDB GridFS HOT 1
- Set Image Height in Convert HOT 1
- Replace XPDF dependency with Poppler
- Allow setting executable paths HOT 1
- Grim::Pdf.count strange behaviour in windows HOT 5
- Extract Pages to create other pdf HOT 1
- ImageMagick processor changing white to black unnecessarily HOT 7
- Grim sample code not working HOT 1
- Supersampling technique HOT 2
- Difference between quality and density? HOT 1
- Grim::UnprocessablePage convert PDF to Images images empty HOT 4
- File.exists? deprecated since Ruby 2.1.0 HOT 5
- need help w/ the gem HOT 1
- Add logging. See bryckbost pull request
- OMGBBQ
- omgbbq
- no way jose
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grim.