Created
April 29, 2013 16:53
-
-
Save tovbinm/5482957 to your computer and use it in GitHub Desktop.
Setup Apache + Ruby on Rails + Passenger on Debian
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt-get update | |
apt-get install vim git | |
apt-get install libcurl4-openssl-dev | |
apt-get install apache2-prefork-dev | |
apt-get install libapr1-dev | |
apt-get install libaprutil1-dev | |
bash -s master < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
echo '[[ -s "/usr/local/rvm/scripts/rvm" ]] && . "/usr/local/rvm/scripts/rvm"' >> ~/.bashrc | |
echo 'PATH=$PATH:/usr/local/rvm/bin' >> ~/.bashrc | |
rvm install ruby-1.9.3-p125 | |
rvm use ruby-1.9.3-p125 | |
rvm --default ruby-1.9.3-p125 | |
gem install rdoc | |
gem install rails | |
gem install passenger | |
gem install whenever | |
passenger-install-apache2-module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment