setup Rails ubuntu 14.04 LTS
what I tried
ubuntu 14.04 LTS install / and update
—after that
open terminal ctl+alt T
install git - at ubuntu software center
(need git to install rbenv)
$ git --version
git version 1.9.1
install rbenv
$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ exec $SHELL
$ type rbenv
"rbenv is a function"
https://github.com/sstephenson/rbenvinstallation
https://github.com/sstephenson/ruby-buildreadme
$ git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ rbenv install -list
install three of ruby versions
$ rbenv install 1.9.3-p547
$ rbenv install 2.0.0-p481
$ rbenv install 2.1.2
rbenv install 2.0.0-p451 didn’t work so tried
$ rbenv global 1.9.3-p545
$ ruby -v
ruby 1.9.3p545
and then tried again
$ rbenv install 2.0.0-p451
...