Created
July 5, 2009 17:15
-
-
Save kellishaver/141040 to your computer and use it in GitHub Desktop.
basic rails stack setup - OUTDATED
This file contains 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
#!/bin/bash | |
RUBYGEMS_URL="http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz" | |
RUBYGEMS_FOLDER="rubygems-1.3.1" | |
RUBYGEMS_EXT="tgz" | |
apt-get update | |
apt-get install build-essential ruby ruby1.8-dev wget vim apache2 libopenssl-ruby apache2-prefork-dev rdoc git-core | |
apt-get install sqlite3 libsqlite3-dev | |
apt-get install imagemagick | |
apt-get install libmagick9-dev | |
wget $RUBYGEMS_URL | |
tar -xvzf "$RUBYGEMS_FOLDER.$RUBYGEMS_EXT" | |
cd $RUBYGEMS_FOLDER | |
ruby setup.rb | |
cd | |
ln -s /usr/bin/gem1.8 /usr/bin/gem | |
gem install rails | |
gem install sqlite3-ruby | |
gem install RedCloth | |
gem install rmagick | |
gem install passenger | |
passenger-install-apache2-module |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment