$ gem2rpm --fetch fuubar Ignoring json-1.8.2 because its extensions are not built. Try: gem pristine json --version 1.8.2 NoMethodError: undefined method `find_matching' for #<Gem2Rpm::SpecFetcher:0xc46bcd4> spec_for_dependency at /usr/share/gems/gems/gem2rpm-0.11.1/lib/gem2rpm/spec_fetcher.rb:15 find_download_url at /usr/share/gems/gems/gem2rpm-0.11.1/lib/gem2rpm.rb:30 convert at /usr/share/gems/gems/gem2rpm-0.11.1/lib/gem2rpm.rb:54 (root) at /usr/share/gems/gems/gem2rpm-0.11.1/bin/gem2rpm:114 load at org/jruby/RubyKernel.java:1091 (root) at /usr/bin/gem2rpm:23
You seems to run gem2rpm with JRuby. I have never tested gem2rpm against JRuby neither I am sure the JRuby in Fedora is in best shape yet. So if I may suggest, "dnf install ruby" might be workaround for your issues.
(In reply to Vít Ondruch from comment #1) > You seems to run gem2rpm with JRuby. I have never tested gem2rpm against > JRuby neither I am sure the JRuby in Fedora is in best shape yet. So if I > may suggest, "dnf install ruby" might be workaround for your issues. yes, but as I can see jruby pulled by gem2rpm instead of ruby.
https://fedoraproject.org/wiki/Packaging:WeakDependencies looks like this caused by depsolver. link above probably can help to understand how to fix this. Vit, I hope you as maintainer of some gems can help to address needed bugs. or at least add Suggests: ruby in gem2rpm package spec.
(In reply to Igor Gnatenko from comment #2) > yes, but as I can see jruby pulled by gem2rpm instead of ruby. This should be resolved by https://admin.fedoraproject.org/updates/rubypick-1.1.1-4.fc22
Opened upstream issue for gem2rpm to ensure, that JRuby is supported: https://github.com/fedora-ruby/gem2rpm/issues/50
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase