http://gorails.com/setup/ubuntu/13.10
- Install Ruby
$ sudo apt-get update
$ sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev
$ cd
$ git clone git://github.com/sstephenson/rbenv.git .rbenv
#bash
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ exec $SHELL
#zsh
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshrc
$ echo 'eval "$(rbenv init -)"' >> ~/.zshrc
$ exec $SHELL
$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
#bash
$ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
#zsh
$ echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.zshrc
$ echo "gem: --no-ri --no-rdoc" > ~/.gemrc
$ rbenv install 2.0.0-p451
$ rbenv global 2.0.0-p451 - Installing Rails
$ sudo add-apt-repository ppa:chris-lea/node.js
$ sudo apt-get update
$ sudo apt-get install nodejs
$ gem install rails
$ rbenv rehash
$ rails -v - Setting Up MySQL
$ sudo apt-get install mysql-server mysql-client libmysqlclient-dev
$ls $
a