rbenv install --list does not list version 2.1.2
Both rbenv and ruby-build are generally installed from Github by cloning; That's how the authors recommend we install it.
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
If you didn't do it that way I'd recommend that method. Then, you can simply do:
cd ~/.rbenv
git pull
cd plugins/ruby-build
git pull
If you have several plugins use:
cd plugins
for i in *
do
cd $i
git pull
cd -
done
I update every couple weeks just to pull in the latest fixes/changes.
rbenv can't change global ruby version
Did you add the following lines to your ~/.bash_profile
?
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
See: https://github.com/sstephenson/rbenv#installation
Install rbenv or Homebrew first?
The installation instructions for rbenv on MacOS assume Homebrew is already installed so this should be done first.
https://github.com/rbenv/rbenv#homebrew-on-macos
Related Topics
You Don't Have Write Permissions into the /Var/Lib/Gems/1.9.1 Directory
Regex to Validate String Having Only Characters (Not Special Characters), Blank Spaces and Numbers
Script to Run Against Stdin If No Arg; Otherwise Input File =Argv[0]
Creating a Test Suite Using Ruby Minitest
Cannot Load Such File -- Rack/Handler/Puma
How to Use Link_To to Link an Image and a Text
Error Running Heckle? 'Current_Code': Undefined Method 'Translate' for Ruby2Ruby
Detecting If This Is an Iframe Load or Direct
What Are Some Good Role Authorization Solutions Used with Authlogic
How to Programmatically Check If a Certificate Has Been Revoked
Installing Libyaml for Ruby on a MAC Osx (Lion)
Setting Mime Type for .Ogv Files in Rails Development Environment
How to Generate a Wsdl Using Ruby
How to Use Mongodb Ruby Driver to Do a "Group" (Group By)
Error Installing Rubymine, No Sdk Specified, But It Is Listed