Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icongen generate appears to be broken on ruby 3 #22

Open
eastern-codemonk opened this issue Feb 13, 2022 · 0 comments
Open

icongen generate appears to be broken on ruby 3 #22

eastern-codemonk opened this issue Feb 13, 2022 · 0 comments

Comments

@eastern-codemonk
Copy link

icongen generate looks to be broken when used with Ruby 3

% icongen generate  Ios-Icon.png
/Users/sachinjayapalan/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ios_icon_generator-0.1.3/lib/ios_icon_generator/cli/commands/generate.rb:34:in `call': wrong number of arguments (given 1, expected 0; required keywords: icon_path, xcasset_folder, type) (ArgumentError)
	from /Users/sachinjayapalan/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/hanami-cli-0.3.1/lib/hanami/cli.rb:57:in `call'
	from /Users/sachinjayapalan/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ios_icon_generator-0.1.3/lib/ios_icon_generator/cli/runner.rb:40:in `execute!'
	from /Users/sachinjayapalan/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/ios_icon_generator-0.1.3/bin/icongen:6:in `<top (required)>'
	from /Users/sachinjayapalan/.rbenv/versions/3.1.0/bin/icongen:25:in `load'
	from /Users/sachinjayapalan/.rbenv/versions/3.1.0/bin/icongen:25:in `<main>'

% ruby -v
ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-darwin21]
% gem -v
3.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant