Skip to content

Instantly share code, notes, and snippets.

@tpitale
Created May 2, 2013 03:34
Show Gist options
  • Select an option

  • Save tpitale/5500002 to your computer and use it in GitHub Desktop.

Select an option

Save tpitale/5500002 to your computer and use it in GitHub Desktop.
Building a .deb for chruby
curl https://codeload.github.com/postmodern/chruby/tar.gz/v0.3.4 -o chruby-0.3.4.tar.gz
tar -xzvf chruby-0.3.4.tar.gz
cd chruby-0.3.4
mkdir /tmp/chruby-install
PREFIX=/tmp/chruby-install make install
fpm --prefix /usr/local -a all -s dir -t deb -p chruby-VERSION_ARCH.deb -n chruby -v 0.3.4 -C /tmp/chruby-install bin share
rm -rf /tmp/chruby-install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment