civo / cli-rubygem

Command line interface for interacting with Civo's cloud API
https://www.civo.com
MIT License
15 stars 4 forks source link

problems installing CLI #44

Open csantanapr opened 4 years ago

csantanapr commented 4 years ago

Using a Mac hit two problems.

  1. Asked for root password, I would prefer to install this in user space and adjust my PATH workaround: Fine here my root password 😢
  2. Got this error:
    Password:
    ERROR:  Error installing civo_cli:
    zeitwerk requires Ruby version >= 2.4.4.

    workaround: Fine let me run brew install ruby

  3. civo not found in PATH civo zsh: command not found: civo workaround: echo 'export PATH="/usr/local/lib/ruby/gems/2.6.0/bin:$PATH"' >> ~/.zshrc

Providing a better install UX would be awsome, just downloading an executable (ie go binary), or hiding all the dependencies behind a brew install civo or apt install -f civo.deb that is easier to install.