-
-
Save djha-skin/a8f4546570bbfec56fb7 to your computer and use it in GitHub Desktop.
Create an #FPM jar using #JRuby and #Warbler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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