Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jcap49
Last active January 4, 2016 01:39
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 jcap49/06416514c2aa4150699f to your computer and use it in GitHub Desktop.
Save jcap49/06416514c2aa4150699f to your computer and use it in GitHub Desktop.
# install prerequisites
sudo apt-get install -y git curl zlib1g-dev subversion
# update the package index
sudo apt-get update
# install ruby dependencies
sudo apt-get install -y openssl libreadline6-dev git-core zlib1g libssl-dev
sudo apt-get install -y libyaml-dev libsqlite3-dev sqlite3
sudo apt-get install -y libxml2-dev libxslt-dev
sudo apt-get install -y autoconf automake libtool bison
# install ruby with RVM; append --rails if you'd like
curl -L get.rvm.io | bash -s stable
# after the packages are finished downloading and installing
# check to make sure ruby is installed
ruby -v
# it should return something like: ruby 1.9.3p194 (2012-04-20 revision 35410) [arm-linux-eabihf]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment