Skip to content

Instantly share code, notes, and snippets.

@jakebellacera
Created September 7, 2012 00:32
Show Gist options
  • Select an option

  • Save jakebellacera/3661904 to your computer and use it in GitHub Desktop.

Select an option

Save jakebellacera/3661904 to your computer and use it in GitHub Desktop.
run this as curl -L <url> | bash
#!/usr/bin/env bash
sudo apt-get -y update
sudo apt-get -y upgrade
sudo apt-get -y install build-essential zlib1g-dev libssl-dev libreadline5-dev libyaml-dev nginx
cd /tmp
wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
tar xzvf ruby-1.9.3-p194.tar.gz
cd ruby-1.9.3-p194
./configure --prefix=/usr/local
make
make install
gem install bundler rails passenger
# then run passenger-install-nginx-module and run step 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment