LoginSignup
0
0

More than 5 years have passed since last update.

ruby2.3.0でDeployGateのCommandLineToolがインストールできない

Posted at

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

無事に入ったみたいである。

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0