New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RVM issuing warnings #3267
Comments
can I also see output of: echo $GEM_HOME
echo $GEM_PATH
echo $PATH before and after this message is displayed (rvm is sourced)? |
I'm pretty sure it doesn't matter if rvm is sourced or not. root@vagrant:/opt# echo $GEM_HOME; echo $GEM_PATH; echo $PATH
/usr/local/rvm/gems/ruby-2.1.3@global/bin:/usr/local/rvm/rubies/ruby-2.1.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin
root@vagrant:/opt# source /etc/profile.d/rvm.sh
root@vagrant:/opt# echo $GEM_HOME; echo $GEM_PATH; echo $PATH
/usr/local/rvm/gems/ruby-2.1.3@global/bin:/usr/local/rvm/rubies/ruby-2.1.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin
root@vagrant:/opt# |
can you try with RVM |
Issue still persists while using curl -L https://get.rvm.io | sudo bash -s head during a normal install |
sourcing RVM from command line does nothing, please rather put the ubuntu_rvm ()
{
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
curl -L https://get.rvm.io | sudo bash -s stable
+ echo $GEM_HOME
+ echo $GEM_PATH
+ echo $PATH
source /etc/profile.d/rvm.sh
+ echo $GEM_HOME
+ echo $GEM_PATH
+ echo $PATH
sudo usermod -a -G rvm $(whoami)
rvm autolibs enable
rvm install $SYSTEM_RUBY_VERSION --auto-dotfiles
rvm use $SYSTEM_RUBY_VERSION@$SYSTEM_RUBY_GEMSET --default --create
ubuntu_log_info "Finished installing RVM!"
} |
Closing, presuming this helped and the issue was resolved since it's been so long. Please reopen if this isn't the case! |
I'm seeing this issue after installing RVM on a vanilla chef/ubuntu1404 box via vagrant. Using a shell script to provision. No zsh or anything out of the ordinary here.
Generates the following warnings whenever I login
Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see: https://github.com/wayneeseguin/rvm/issues/3212
The text was updated successfully, but these errors were encountered: