Skip to content

Instantly share code, notes, and snippets.

@andrielfn
Created January 15, 2014 03:30
Show Gist options
  • Save andrielfn/8430272 to your computer and use it in GitHub Desktop.
Save andrielfn/8430272 to your computer and use it in GitHub Desktop.
Create a Ruby deb package from compiled source.
fpm -s dir -t deb -n ruby21 -v 2.1 --description \
"Ruby 2.1 stable package" -C /tmp/ruby20 \
-p ruby2.1-x64.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 "libssl1.0.0 (>= 1.0.0)" -d "zlib1g (>= 1:1.2.2)" \
-d "libyaml-0-2 (>= 0.1.3)" \
usr/bin usr/lib usr/share/man usr/include
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment