Sha256: 70708eff7d04519c196918f4e4def8e71c78680893db473b0902d85708effe3b

Contents?: true

Size: 554 Bytes

Versions: 3

Compression:

Stored size: 554 Bytes

Contents

#! /bin/sh

set -e
trap ERROR ERR

cd /usr/src
#wget -nv ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.6-p110.tar.gz
tar xzf ruby-1.8.6-p110.tar.gz
cd ruby-1.8.6-p110
echo "Configuring ruby..."
./configure --prefix=/usr > configure.log
echo "Compiling ruby..."
make > make.log
echo "Installing ruby..."
make install > make_install.log

# Fix openssl
cd /usr/src/ruby-1.8.6-p110/ext/openssl
echo "Fix for ruby openssl..."
ruby extconf.rb > extconf.log
make clean > make.log
make >> make.log
make install >>  make.log

cd /usr/src
rm ruby-1.8.6-p110.tar.gz

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capigen-0.1.1 templates/ruby/ruby_install.sh
capigen-0.1.2 lib/templates/ruby/ruby_install.sh
capigen-0.1.3 lib/templates/ruby/ruby_install.sh