LoginSignup
1
0

More than 5 years have passed since last update.

rbenv rubyのバージョンが切り替わらなかった時にしたこと

Posted at
rbenv versions
  system
* 2.3.1 (set by /vagrant/.ruby-version)
rbenv local 2.3.1
rbenv rehash
ruby --version
ruby 1.9.3p484 

切り替わらない。。

したこと

benv init
# Load rbenv automatically by appending
# the following to ~/.bash_profile:

eval "$(rbenv init -)"
vi ~/.bash_profile

こちらを追記
eval "$(rbenv init -)"

source ~/.bash_profile
ruby -v
ruby 2.3.1p112 

無事、切り替わりました。

参考

1
0
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
1
0