Skip to content

Instantly share code, notes, and snippets.

@indykish
Created June 11, 2015 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save indykish/bedb24f58bbd10da4ee8 to your computer and use it in GitHub Desktop.
Save indykish/bedb24f58bbd10da4ee8 to your computer and use it in GitHub Desktop.
Compile ruby from 2.2.2 source , we use it to package a deb of megam nilavu
# this is amd64 compiled ruby grabbed from source.
wget http://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.gz
gunzip -c ruby-2.2.2.tar.gz | tar -xvf -; rm ruby-2.2.2.tar.gz
cd ruby-2.2.2
./configure --prefix="/home/megam/Downloads/ruby2.2.2" \
--enable-shared \
--disable-install-doc \
--disable-install-rdoc
make
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment