Установка RoR c MySQL на чистую Ubuntu 10.10
sudo apt-get install curl
bash -s stable < rvm pkg install openssl
echo '[[ -s «$HOME/.rvm/scripts/rvm» ]] &&. «$HOME/.rvm/scripts/rvm» # Load RVM function' >> ~/.bash_profile
Install curl (to install rvm) and then install RVM — Ruby Version Management and add rvm to bash profile
rvm pkg install iconv
In case of problems try rvm --skip-autoreconf pkg install iconv
rvm install 1.9.2-p290 -C --with-openssl-dir=$HOME/.rvm/usr,--with-iconv-dir=$HOME/.rvm/usr
rvm use 1.9.2 --default
Install iconv (need for rails correct work) and ruby 1.9.2-p290
sudo apt-get install mysql-server
sudo apt-get install libmysqlclient-dev
gem install mysql2 -- --with-mysql-dir=/etc/mysql/
Install MySQL server, mysql dev libraries (enables correct ssl work) and mysql gem
sudo apt-get install libsqlite3-dev
Install sqlite developer libraries (for testing or develop purposes, you can scip this step)
bundle install
(gems for rails)
gem install rails
You can specify version of installing rails