Skip to content

Instantly share code, notes, and snippets.

@smgt
smgt / ruby.sh
Created October 30, 2012 06:38
Install Ruby 1.9.3-p286 when building a VeeWee
# Install Ruby from source
apt-get -y install curl bzip2 unzip
r_ver=1.9.3-p286
curl -o /tmp/ruby-${r_ver}.tar.bz2 \
"ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-${r_ver}.tar.bz2"
(cd /tmp && tar -jxvf /tmp/ruby-${r_ver}.tar.bz2 && \
cd ruby-${r_ver} && ./configure --prefix=/usr/local && \
make && make install)
rm -rf /tmp/ruby-${r_ver} /tmp/ruby-${r_ver}.tar.bz2
@smgt
smgt / keybase.md
Last active February 12, 2022 13:38

Keybase proof

I hereby claim:

  • I am smgt on github.
  • I am smgt (https://keybase.io/smgt) on keybase.
  • I have a public key ASA3bRFagm5GCm-7RBunBAd35iZ0DuANkfSw5RWU-3igTwo

To claim this, I am signing this object: