Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

I keep getting this error every time I open my terminal:

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

This started happening after I recently installed zsh (oh-my-zsh)

I do not know how to set the path to GEM_HOME and/or GEM_PATH.

like image 361
Andreas Holt Avatar asked Jan 27 '15 06:01

Andreas Holt


1 Answers

I am also faced same problem, change the following line in .zshrc,

export PATH="/usr/local/heroku/bin: .........."

to

export PATH="$PATH:/usr/local/heroku/bin: .........."

this works for me.

Thanks

like image 56
user2874140 Avatar answered Nov 09 '22 09:11

user2874140