LoginSignup
8
7

More than 3 years have passed since last update.

Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see の解決方法(AWS Cloud9)

Posted at

AWS Cloud9環境で以下のエラーが出るときの解決方法
同じエラーで2回スタックしたので備忘録的に。。。

Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
    https://github.com/rvm/rvm/issues/3212

~/.bashrcファイルに以下の行を追加する。

export PATH=$PATH':/path/to/add'
export GEM_HOME=$HOME/.gem
export GEM_PATH=$HOME/.gem

ターミナルでvi ~/.bashrcと打ち込めば編集画面が開くので、
最終行あたりに追加すればいい。

参考
https://unix.stackexchange.com/questions/203376/how-to-set-ruby-gem-home-and-gem-path

8
7
0

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
8
7