Created
June 20, 2014 18:55
-
-
Save anonymous/5c7c5134ec049b277615 to your computer and use it in GitHub Desktop.
Make an #fpm jar with warble and #JRuby
This file contains 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