Skip to content

Instantly share code, notes, and snippets.

@qerub
Created November 27, 2013 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qerub/7675016 to your computer and use it in GitHub Desktop.
Save qerub/7675016 to your computer and use it in GitHub Desktop.
Augmenting JRuby Complete with Bundler: a full JRuby installation in a single JAR file
#!/bin/sh
set -ex
version=1.7.8
jar=jruby-complete-$version-with-bundler.jar
curl -o $jar http://jruby.org.s3.amazonaws.com/downloads/$version/jruby-complete-$version.jar
java -jar $jar -S gem install -i ./bundler-gems bundler --no-rdoc --no-ri
jar uf $jar -C bundler-gems .
java -jar $jar -S bundle --version
@qerub
Copy link
Author

qerub commented Dec 18, 2013

Relevant: "Include bundler in JRuby distribution": jruby/jruby#1146

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment