Skip to content

Instantly share code, notes, and snippets.

@jruby
Created December 17, 2009 03:16
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 jruby/258497 to your computer and use it in GitHub Desktop.
Save jruby/258497 to your computer and use it in GitHub Desktop.
~/projects/jruby ➔ gem install --source=http://localhost:8808 jline.jline
Successfully installed junit.junit-3.8.1-java
Successfully installed jline.jline-0.9.95-java
2 gems installed
Installing ri documentation for junit.junit-3.8.1-java...
Installing ri documentation for jline.jline-0.9.95-java...
Installing RDoc documentation for junit.junit-3.8.1-java...
Installing RDoc documentation for jline.jline-0.9.95-java...
~/projects/jruby ➔ jruby -rubygems -e "gem 'jline.jline'; require 'jline'; reader = Java::jline.ConsoleReader.new; puts reader.read_line('>>')"
>>Woohoo!
Woohoo!
~/projects/jruby ➔
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment