summaryrefslogtreecommitdiff
path: root/ruby.sh
diff options
context:
space:
mode:
authorAndreas Maunz <andreas@maunz.de>2011-03-31 13:04:48 +0200
committerAndreas Maunz <andreas@maunz.de>2011-03-31 13:04:48 +0200
commitac2854eb48294aa36f096a8cd6b3a6769c6bec00 (patch)
treee9dcfbc2dc1bcfcd1d50d31d07b6b1ef1ba9500c /ruby.sh
parent59f6d70df510eb5e009f71a15ccbf20053ec7975 (diff)
all
Diffstat (limited to 'ruby.sh')
-rwxr-xr-xruby.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ruby.sh b/ruby.sh
index 9035d1c..724d224 100755
--- a/ruby.sh
+++ b/ruby.sh
@@ -44,7 +44,8 @@ echo "Installing:"
if [ ! $RUBY_DONE ]; then
cd /tmp
URI="http://rubyenterpriseedition.googlecode.com/files/$RUBY_VER.tar.gz"
- cmd="$WGET -O - $URI" && run_cmd "$cmd" "Download"
+ cmd="$WGET $URI" && run_cmd "$cmd" "Download"
+ cmd="tar xzf $RUBY_VER.tar.gz" && run_cmd "$cmd" "Unpack"
cmd="sh /tmp/$RUBY_VER/installer --dont-install-useful-gems --no-dev-docs --auto=$RUBY_DEST" && run_cmd "$cmd" "Install"
fi