Skip to content

Using jEdit as your JrubyArt Ide

Martin Prout edited this page Jun 17, 2016 · 4 revisions

Get the macros and commando files here, you will need to edit GEM_HOME and GEM_PATH (if used) in the beanshell macro to match your system, optionally you can also set JRUBY_OPTS here.

/**
* k9.bsh by monkstone 18 December 2013 
* A jedit bean shell macro, to load environment, and call
* k9 commando menu
*
* You must edit GEM_HOME/GEM_PATH to match your system
*
*/
// setenv("GEM_HOME", "/home/tux/.gem/ruby/2.3.0");
// setenv("GEM_PATH", "/home/tux/.gem/ruby/2.3.0");
new console.commando.CommandoDialog(view,"commando.k9");

You also need to provide the path to the k9 executable the first time you use the script (see below, for some reason setting the PATH environmental variable in the bsh macro above did not work).

commando