jEdit Community - Resources for users of the jEdit Text Editor
how to run ruby script
Submitted by bench on Monday, 17 March, 2008 - 21:28
hi!

im following this

http://ruby-talk.markmail.org/message/pw5woijhd4lp3grd?q=jedit

hoping to do the above mentioned task, however, i can't still get a program to run. i get this cryptic beanshell error.

i have the rubyplugin installed.

what am i missing to be able to run a ruby script inside jedit? i also want to have the run result/output generated in one console/window.


thank you!

cajoe
Comment viewing options
Select your preferred way to display the comments and click 'Save settings' to activate your changes.
It would help a lot if you wo
by phade on Fri, 11/04/2008 - 06:48
It would help a lot if you would show the error you get. Also I recommen d to make a local copy of the system macro in your user settings directory and change this copy, otherwise your modifications would be overwritten when jEdit is reinstalled or upgraded.

Which version of jEdit you are using. You should use 4.3pre12 or 4.3pre13. jEdit betas are actually very stable.

RunScript.bsh needs also Console plugin to be installed.
I looked and at least 4.3pre13 includes already ruby mode so running ruby scripts should work out of the box and you do not need to change the macro.

Thanks to Beanshell there are a lot of other ways you could get ruby code to evaluate.
User login
Browse archives
« September 2024  
MoTuWeThFrSaSu
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 
Poll
Are you interested in language packs for jEdit?
Yes, and I could help maintain translations
26%
Yes, I'd like to have translations
32%
Indifferent
35%
No, that'd be bad (please comment)
7%
Total votes: 1093
Syndication
file   ver   dls
German Localization light   4.4.2.1   99570
Context Free Art (*.cfdg)   0.31   46062
BBEdit scheme   1.0   18601
JBuilder scheme   .001   18502
ColdFusion scheme   1.0   18031
R Edit Mode - extensive version   0.1   17480
Advanced HTML edit mode   1.0   16213
Matlab Edit Mode   1.0   16075
jEdit XP icons   1.0   15236
XP icons for jEdit   1.1   14300