diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-02-09 11:30:08 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-02-09 11:30:08 +0100 |
commit | 493dc4f0268a853c8b5488803b14efb5540163b5 (patch) | |
tree | a77d8d21b10cee1b03d038abbc2dc33a6fd4e2d0 /ruby.sh | |
parent | 0871dbf4fc3f8e1083490197b7be7be2b5163d14 (diff) |
initial import
Diffstat (limited to 'ruby.sh')
-rw-r--r-- | ruby.sh | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#!/bin/sh + +echo "Installing Ruby Enterprise" +cd /tmp +wget -O - "http://rubyforge.org/frs/download.php/71096/ruby-enterprise-1.8.7-2010.02.tar.gz" | tar zxv +ruby-enterprise-1.8.7-2010.02/installer --dont-install-useful-gems --no-dev-docs --auto=/opt/ruby-enterprise-1.8.7-2010.02 +sed -i '/^PATH=.*ruby-enterprise/d' /etc/profile +echo 'PATH=$PATH:/opt/ruby-enterprise-1.8.7-2010.02/bin' | tee -a /etc/profile +. /etc/profile +gem sources -a http://gemcutter.org +gem sources -r http://rubygems.org/ +echo "gem: --no-ri --no-rdoc" | tee -a ~/.gemrc +gem install passenger |