-
-
Save cesarferreira/6557970 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
# Locale | |
sudo apt-get -y install language-pack-pt | |
# System update | |
sudo apt-get -y update | |
# System upgrade | |
sudo apt-get -y upgrade | |
sudo apt-get -y dist-upgrade | |
# Curl | |
sudo apt-get -y install curl | |
# Git | |
sudo apt-get -y install git-core | |
# NodeJS | |
sudo apt-get -y install python-software-properties python g++ make | |
sudo add-apt-repository -y ppa:chris-lea/node.js | |
sudo apt-get -y update | |
sudo apt-get -y install nodejs | |
# MySQL | |
sudo apt-get -y install mysql-server libmysqlclient-dev | |
# PostgreSQL | |
sudo apt-get -y install postgresql libpq-dev | |
# RVM | |
curl -L get.rvm.io | bash -s stable | |
source ~/.profile | |
source ~/.rvm/scripts/rvm | |
rvm autolibs enable | |
rvm requirements | |
# Ruby 2.0.0 | |
rvm install 2.0.0 --default | |
# Avoid "File not found: lib" error | |
gem install rdoc | |
# Rails 4 | |
gem install rails |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment