Macの環境にDeployGateのインストールを行おうとして、失敗した。
公式でインストールのコマンド
$ curl -sSL https://deploygate.com/cli/install | bash
これをターミナルに入力したが、、、、
途中でエラーになる。
__| | ___ ___ | | ___ _ ,____ ___ | |_ ___
/ _` |/ _ \' _ \| |/ _ \ \ / / _ \ / _ `| __/ _ \
| (_| | __/ |_) | | (_) \ v / (_| | (_| | |_' __/
\___, \___| .__/|_|\___/ ` / \__, |\__,_|\__\___`
|_| /_/ |___/
Superuser access (sudo) required
Please type your login password to grant installing dg command to your system.
Password:
Installing dg with "sudo gem install deploygate --no-document".
This may take a while. It's a good time to grab some coffee ☕️
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
rubyのバージョンが合わないよくあることだと思ってバージョンを確認
2.3.0であることが判明そのため
rbenvで2.2.6をインストール
rbenv install 2.2.6
rbenv global 2.2.6
これにより同じく公式でインストールのコマンドを入力したらインストールできた
SuccessFully installed deploygate-0.6.7
76 gems installed
無事に入ったみたいである。