Closed MiPi12 closed 2 years ago
@MiPi12 - this looks like the cause: https://github.com/voxpupuli/hiera-eyaml/issues/325 and is probably not isolated to RubyInstaller.
@mohits Thanks a lot. Fixed my problem.
Happy to help. Thanks for coming back, and closing the issue.
Hi, I have an issue with eyaml. I followed the description here.
After i type in the eyaml --help command, I get the following error:
C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/lib/hiera/backend/eyaml/plugins.rb:37:in
block (2 levels) in find': undefined method
dependencies' for #<Gem::StubSpecification:0x063e1ce0 @extension_dir=nil, @full_gem_path=nil, @gem_dir=nil, @ignored=nil, @loaded_from="C:/Ruby31/lib/ruby/gems/3.1.0/specifications/default/abbrev-0.1.0.gemspec", @data=#<Gem::StubSpecification::StubLine:0x063e163c @name="abbrev", @version=#<Gem::Version "0.1.0">, @platform="ruby", @extensions=[], @full_name="abbrev-0.1.0", @require_paths=["lib"]>, @name=nil, @spec=nil, @base_dir="C:/Ruby31/lib/ruby/gems/3.1.0", @gems_dir="C:/Ruby31/lib/ruby/gems/3.1.0/gems", @default_gem=true> (NoMethodError)dependency = spec.dependencies.find { |d| d.name == "hiera-eyaml" } ^^^^^^^^^^^^^ from C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/lib/hiera/backend/eyaml/plugins.rb:34:in'
each' from C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/lib/hiera/backend/eyaml/plugins.rb:34:in
block in find' from C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/lib/hiera/backend/eyaml/plugins.rb:31:ineach' from C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/lib/hiera/backend/eyaml/plugins.rb:31:in
find' from C:/Ruby31/lib/ruby/gems/3.1.0/gems/hiera-eyaml-3.2.2/bin/eyaml:10:in<top (required)>' from C:/Ruby31/bin/eyaml:32:in
load' from C:/Ruby31/bin/eyaml:32:in `