Skip to content

Instantly share code, notes, and snippets.

@FernandoEscher
Created September 10, 2012 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FernandoEscher/3694177 to your computer and use it in GitHub Desktop.
Save FernandoEscher/3694177 to your computer and use it in GitHub Desktop.
Server configuration for Rails: Install required packages
# 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