Skip to content

community/ronn: add support for ruby-mustache 1.X

Sören Tempel requested to merge nmeum/aports:ronn-mustache-fix into master

It seems the ronn version we are packaging currently does not support the ruby-mustache version we are packaging. Running ronn (without any arguments) simply results in the error message below. The upstream patch cherry-picked here fixes the issue.

/usr/lib/ruby/3.1.0/rubygems/specification.rb:1401:in `rescue in block in activate_dependencies': Could not find 'mustache' (~> 0.7, >= 0.7.0) among 73 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/soeren/.local/share/gem/ruby/3.1.0:/usr/lib/ruby/gems/3.1.0' at: /usr/lib/ruby/gems/3.1.0/specifications/ronn-ng-0.9.1.gemspec, execute `gem env` for more information
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1398:in `block in activate_dependencies'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
	from /usr/lib/ruby/3.1.0/rubygems.rb:286:in `block in activate_bin_path'
	from /usr/lib/ruby/3.1.0/rubygems.rb:285:in `synchronize'
	from /usr/lib/ruby/3.1.0/rubygems.rb:285:in `activate_bin_path'
	from /usr/bin/ronn:25:in `<main>'
/usr/lib/ruby/3.1.0/rubygems/dependency.rb:313:in `to_specs': Could not find 'mustache' (~> 0.7, >= 0.7.0) - did find: [mustache-1.1.1] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/soeren/.local/share/gem/ruby/3.1.0:/usr/lib/ruby/gems/3.1.0' , execute `gem env` for more information
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1399:in `block in activate_dependencies'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `each'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1387:in `activate_dependencies'
	from /usr/lib/ruby/3.1.0/rubygems/specification.rb:1369:in `activate'
	from /usr/lib/ruby/3.1.0/rubygems.rb:286:in `block in activate_bin_path'
	from /usr/lib/ruby/3.1.0/rubygems.rb:285:in `synchronize'
	from /usr/lib/ruby/3.1.0/rubygems.rb:285:in `activate_bin_path'
	from /usr/bin/ronn:25:in `<main>'

Merge request reports