Created
March 30, 2011 22:28
-
-
Save rafarubert/895438 to your computer and use it in GitHub Desktop.
Instalação pro Flavão
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get install build-essential zlib1g-dev libssl-dev libreadline5-dev | |
sudo apt-get install ruby-full libmysql-ruby librmagick-ruby build-essential | |
apt-get install git-core | |
wget http://rubyforge.org/frs/download.php/74445/rubygems-1.6.2.tgz | |
tar xzf rubygems-1.6.2.tgz | |
cd rubygems-1.6.2 | |
sudo ruby setup.rb | |
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
#rvm | |
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" | |
[[ -r $rvm_path/scripts/completion ]] && . $rvm_path/scripts/completion | |
PS1="[\$(~/.rvm/bin/rvm-prompt)] $PS1" | |
rvm install 1.9.2 | |
rvm use 1.9.2 | |
gem install rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment