Comments (9)
possible duplicate #23
from badge.
Please update badge to 0.4.1
from badge.
Issue still reproduces.
I've uninstalled badge and it's dependencies, and reinstalled badge v 0.4.1, and the same error occurs.
I'm I the only one?
env:
os x el capitan
ruby 2.2.1
from badge.
Can you check you environment for the PATH var
it should contain PATH=$PATH:/usr/local/bin
otherwise it will not find imagemagick
from badge.
/usr/local/bin
is in $PATH
.
Also uninstalled badge
and re-installed it with sudo
. Same result as above.
Tried on a fresh environment (os x el capitan, ruby 2.0.0) some deal.
/Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:204:in `rescue in validate!': [!] ImageMagick/GraphicsMagick is not installed (MiniMagick::Invalid)
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:202:in `validate!'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:113:in `block in create'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:112:in `tap'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:112:in `create'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:34:in `read'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:90:in `block in open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:36:in `open'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/open-uri.rb:36:in `open'
from /Library/Ruby/Gems/2.0.0/gems/mini_magick-4.5.1/lib/mini_magick/image.rb:89:in `open'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/lib/badge/runner.rb:128:in `add_badge'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/lib/badge/runner.rb:59:in `block in run'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/lib/badge/runner.rb:52:in `each'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/lib/badge/runner.rb:52:in `run'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/bin/badge:53:in `block (2 levels) in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.43.1/lib/fastlane_core/ui/fastlane_runner.rb:26:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/bin/badge:57:in `run'
from /Library/Ruby/Gems/2.0.0/gems/badge-0.4.1/bin/badge:63:in `<top (required)>'
from /usr/local/bin/badge:23:in `load'
from /usr/local/bin/badge:23:in `<main>'
from badge.
As the error states, ImageMagick/GraphicsMagick is not installed
on my machines.
This is not a bug for badge
, but it does not state in the documentation steps to install this dependencies.
minimagick states ImageMagick or GraphicsMagick command-line tool has to be installed.
Maybe the readme should state this. I installed ImageMagick with homebrew brew install imagemagick
.
If this is acceptable, I can make a pull request with the update.
from badge.
OK ... so now it works for you?
from badge.
Yes. @Gimungagap can you try as well?
Are there any quarks with this steps:
- brew install imagemagick
- gem install badge [if not already installed]
- run badge
from badge.
@danielpetroianu yup, that fixes the issue. Thanks a lot.
I also tried MiniMagick installation via gems and that didn't solve the problem but brew installation did the trick.
from badge.
Related Issues (20)
- LoadError: incompatible library version HOT 1
- Badge is updating AppIcons from one of pods directory HOT 1
- Doesn't work on Apple Silicon HOT 3
- Fastlane action incorrect behaviour when setting glob value. HOT 1
- fastlane-plugin-badge project code is automatically removed HOT 1
- Can't Install With Gem HOT 1
- Error loading image from shields.io response Error HOT 10
- stream closed in another thread (IOError) in mini_magick HOT 2
- Badge_Gravity has no effect HOT 2
- is it possible to using badge per schemes? HOT 1
- --no_badge not working HOT 2
- Change Wording of Alpha Beta HOT 2
- Jenkins can't find imagemagick HOT 3
- save files to different location
- Request: Support webp icons on Android
- Xcode14 Single Size Icon Support
- no decode delegate for this image format `APPICONSET' HOT 1
- Alpha text has different color than Beta HOT 2
- Remove 'fastlane' as a runtime dependency in badge.gemspec HOT 1
- Can't install on Mojave: signet requires Ruby version >= 2.4.0
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 badge.