Skip to content

Instantly share code, notes, and snippets.

Created June 20, 2014 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/5c7c5134ec049b277615 to your computer and use it in GitHub Desktop.
Save anonymous/5c7c5134ec049b277615 to your computer and use it in GitHub Desktop.
Make an #fpm jar with warble and #JRuby
#!/bin/sh
# Main idea largely taken from http://stackoverflow.com/a/8410010/850326
prefix="${HOME}/Software" # Another viable option: /opt/
wget http://jruby.org.s3.amazonaws.com/downloads/1.7.12/jruby-bin-1.7.12.zip
unzip jruby-bin-1.7.12.zip
mkdir -p "${prefix}"
mv jruby-1.7.12 "${prefix}"
export PATH="${PATH}:${prefix}/jruby-1.17.12"
jruby -S gem install warbler fpm bundler rspec insist:0.0.5 pry stud
git clone https://github.com/jordansissel/fpm
cd fpm
warble jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment