Created
September 10, 2012 21:51
-
-
Save FernandoEscher/3694177 to your computer and use it in GitHub Desktop.
Server configuration for Rails: Install required packages
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
# Install Git and Curl | |
sudo apt-get install git curl | |
# Install RVM from the website. It has to be Multiuser mode | |
curl -L https://get.rvm.io | sudo bash -s stable | |
# Add root and your user to the rvm group | |
sudo adduser root rvm | |
sudo adduser MyAppName rvm | |
# Reload the profile and check for the rvm function | |
source /etc/profile.d/rvm.sh | |
type rvm | head -n 1 | |
# Check and install the rvm requirements | |
rvm requirements | |
#More likely to be: | |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment