Skip to content

Instantly share code, notes, and snippets.

@thattommyhall
Created March 26, 2012 15:33
Show Gist options
  • Save thattommyhall/2205969 to your computer and use it in GitHub Desktop.
Save thattommyhall/2205969 to your computer and use it in GitHub Desktop.
fpm ruby 1.9.3
apt-get install libreadline-dev libyaml-dev build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison
./configure --prefix=/usr && make && make install DESTDIR=/tmp/ruby193
fpm -s dir -t deb -n ruby -v 1.9.3-p125 -C /tmp/ruby193 \
-p ruby-VERSION_ARCH.deb -d "libstdc++6 (>= 4.4.3)" \
-d "libc6 (>= 2.6)" -d "libffi5 (>= 3.0.4)" -d "libgdbm3 (>= 1.8.3)" \
-d "libncurses5 (>= 5.7)" -d "libreadline6 (>= 6.1)" \
-d "libssl0.9.8 (>= 0.9.8)" -d "zlib1g (>= 1:1.2.2)" \
usr/bin usr/lib usr/share/man usr/include
ruby -ropenssl -rzlib -rreadline -e "puts :success"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment