Skip to content

Instantly share code, notes, and snippets.

@fishkingsin
Created August 15, 2013 07:21
Show Gist options
  • Select an option

  • Save fishkingsin/6238890 to your computer and use it in GitHub Desktop.

Select an option

Save fishkingsin/6238890 to your computer and use it in GitHub Desktop.
script to setup ruby on rails on RPi
sudo apt-get install -y git curl zlib1g-dev subversion
sudo apt-get update
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
curl -L get.rvm.io | bash -s stable --rails
source ~/.rvm/scripts/rvm
ruby -v
rails -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment