#!/bin/bash
{

    export RUBY_CFLAGS="-O3 -Wno-error=shorten-64-to-32 $RUBY_CFLAGS";
    ./configure --prefix=/usr;
    make;
    make install;

} > /tmp/ruby/build.log

#!/bin/bash

cat > /etc/gemrc <<EOF
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
EOF

{

    export RUBY_CFLAGS="-O3 -Wno-error=shorten-64-to-32 $RUBY_CFLAGS";
    ./configure --prefix=/usr;
    make;
    make install;

} > /tmp/ruby/build.log

Disable rdoc in gem installs
Disable rdoc in gem installs

Signed-off-by: Adam Stokes <0a364f4bf549cc82d725fa7fd7ed34404be64079@ubuntu.com>
