Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@qmx
Forked from dcrec1/centos
Created April 4, 2011 18:08
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 qmx/902094 to your computer and use it in GitHub Desktop.
Save qmx/902094 to your computer and use it in GitHub Desktop.
mkdir /var/local/apps
chown deploy /var/local/apps
apt-get install rubygems1.8 ruby-dev build-essential libopenssl-ruby libssl-dev zlib1g-dev libreadline5-dev libmysql-ruby1.8 libmysqlclient-dev libpgsql-ruby postgresql-client libsqlite3-dev libpq-dev git-core libxml2-dev libxslt-dev -y
cd /tmp/ && wget http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz
tar xvzf ruby-enterprise-1.8.7-2010.02.tar.gz
./ruby-enterprise-1.8.7-2010.02/installer
export PATH=/opt/ruby-enterprise-1.8.7-2010.02/bin:$PATH
passenger-install-nginx-module
gem install bundler --pre --no-ri --no-rdoc
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/bundle /usr/local/bin/
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/rake /usr/local/bin/
ln -s /opt/ruby-enterprise-1.8.7-2010.02/bin/ruby /usr/local/bin/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment