#1031803 in `request': undefined method `escape' for URI:Module (NoMethodError)

Package:
ghi
Source:
ghi
Submitter:
Yaroslav Halchenko
Date:
2023-02-23 00:39:04 UTC
Severity:
normal
#1031803#5
Date:
2023-02-22 23:51:09 UTC
From:
To:
I just installed it since just now discovered, and at the first invocation got
a crash, so not sure how usable it is:

	❯ ghi list
	zsh: correct 'ghi' to 'gih' [nyae]? n
	# NeurodataWithoutBorders/nwb-schema open issues
	/usr/lib/ruby/vendor_ruby/ghi/client.rb:100:in `request': undefined method `escape' for URI:Module (NoMethodError)

		  path = URI.escape path
					^^^^^^^
		from /usr/lib/ruby/vendor_ruby/ghi/client.rb:76:in `get'
		from /usr/lib/ruby/vendor_ruby/ghi/commands/list.rb:148:in `block in execute'
		from /usr/lib/ruby/vendor_ruby/ghi/formatting.rb:509:in `throb'
		from /usr/lib/ruby/vendor_ruby/ghi/commands/list.rb:146:in `execute'
		from /usr/lib/ruby/vendor_ruby/ghi/commands/command.rb:17:in `execute'
		from /usr/lib/ruby/vendor_ruby/ghi.rb:80:in `execute'
		from /usr/bin/ghi:4:in `<main>'