Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

JRuby favours scripts on PATH

View readme.md
  • put test.sh into a folder and cd into the folder.
  • put jruby-complete-1.7.0.preview2.jar into same folder, or tweak JRUBY var to point to where it lives.
  • run it with bash test.sh
View readme.md
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
JRUBY=./jruby-complete-1.7.0.preview2.jar
 
rm -rf bin
mkdir -p bin
 
cat <<BINFILE > bin/gem
puts "I am not really gem"
p ARGV
BINFILE
 
chmod 0755 bin/gem
 
PATH=./bin:$PATH
export PATH
 
java -cp $JRUBY org.jruby.Main -S gem list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.