
|
If you were logged in you would be able to see more operations.
|
|
|
This ticket is a placeholder for some work on the complete jar to allow extraction of a JRuby environment and direct launching of irb and gem. It features:
Note: this is only available with the maven-built form of jruby-complete.jar at the moment. To build yourself, cd to jruby/maven/jruby-complete.jar and type mvn install.
|
|
Description
|
This ticket is a placeholder for some work on the complete jar to allow extraction of a JRuby environment and direct launching of irb and gem. It features:
- Extraction of a jruby directory footprint from a jruby-complete.jar. Run one of the following:
The first command extracts the directory to a specified location, while the second extracts to jruby.home. Per
JRUBY-418, jruby.home defaults to ~/.jruby if not specified as a system property.
- Run irb directly from the jar.
- Run Rubygems' gem command directly from the jar. This will also perform an extraction if jruby.home does not exist, so that gem has a directory in which to place installed gems.
Note: this is only available with the maven-built form of jruby-complete.jar at the moment. To build yourself, cd to jruby/maven/jruby-complete.jar and type mvn install. |
Show » |
|
java -jar jruby-complete.jar -command=extract
java -jar jruby-complete.jar -command=irb
java -jar jruby-complete.jar -command=gem install rake
Or something similar? There could be a set of "known" commands and a way to register new ones (like for gem, rake, rails).