Although installed "Console" plugin for jEdit, I still failed to run
Ruby in it.
For example, assume there is a ruby file called "test.rb"
I tried all the following commands which described in its reference,
and these commands were failed.
I have the Console plugin installed (in jEdit 4.3pre9) and i can type:
ruby test.rb
and it prints 'test' in the jEdit-console (test.rb simply contains puts
"test"). Is the ruby parser available on your PATH?
Although i don't use it myself, maybe also have a look at the
SuperScript plugin, in which you can enable JRuby support to run
ruby-code in the SuperScript-console and also write jEdit macros in Ruby
instead of BeanShell. (see jEdit - Plugin Central - SuperScript, also available from the
pluginmanager)
Another nice Ruby plugin for jEdit is The RubyPlugin, available from http://rubyjedit.org/