# Exit on error:
set -e

wget -c ftp://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.bz2
tar xf ruby-2.0.0-p247.tar.bz2
cd ruby-2.0.0-p247
./configure --prefix=/local
make install
cd ..
rm -rf ruby-2.0.0-p247
rm ruby-2.0.0-p247.tar.bz2

exit 0
