Development
- Install Ruby
- Install DevKit (http://rubyinstaller.org/downloads/)
- gem install capistrano --no-ri --no-rdoc
Deployment Machine
- Update the software sources list
- And upgrade the dated applications:
aptitude update aptitude -y upgrade
- Download and install the build-essential package:
aptitude install -y build-essential
- And some additional, commonly used tools:
aptitude install -y cvs subversion git-core libyaml-dev mercurial
- Get the Ruby Version Manager
Before installing RVM, you need to import the RVM GPG Key:
gpg --keyserver hkp://keys.gnupg.net --recv-keys
- Then install RVM to manage our Rubies:
curl -sSL https://get.rvm.io | bash -s stable
- And to create a system environment with RVM:
source /etc/profile.d/rvm.sh - Download and install Ruby using RVM:
rvm reload rvm install 2.2.1 ( or latest version)