rubygems / gemstash

A RubyGems.org cache and private gem server
MIT License
753 stars 121 forks source link

Use Thor 1.x #348

Closed olleolleolle closed 1 year ago

olleolleolle commented 1 year ago

Description:

This change uses the latest release of Thor.

Tasks:

I will abide by the code of conduct.

Fixed: Currently fails with this report:

 1) CLI executable 
     Failure/Error: run_command("exe/gemstash --version")

     Aruba::LaunchError:
       Command "exe/gemstash" not found in PATH-variable "/home/runner/work/gemstash/gemstash/bin:/home/runner/work/gemstash/gemstash/exe:/home/runner/work/gemstash/gemstash/vendor/bundle/ruby/2.7.0/bin:/opt/hostedtoolcache/Ruby/2.7.8/x64/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/snap/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games".

I changed to refer to the gemstash executable on PATH, in 153d975 and that worked!