Difference between revisions of "FreeplaneJrubyInstaller Addon"
From Freeplane - free mind mapping and knowledge management software
Line 2: | Line 2: | ||
Its an addon to '''add support for .rb (ruby) scripts in Freeplane''', so that you can use .groovy .js '''and .rb''' scripts | Its an addon to '''add support for .rb (ruby) scripts in Freeplane''', so that you can use .groovy .js '''and .rb''' scripts | ||
− | |||
− | |||
Freeplane supports .groovy and .js (javascript) scripts out-of-the-box. This addon adds support for .rb (ruby) scripts, enabling you to use: | Freeplane supports .groovy and .js (javascript) scripts out-of-the-box. This addon adds support for .rb (ruby) scripts, enabling you to use: | ||
Line 10: | Line 8: | ||
It does this by using internally the [http://jruby.org/ Jruby interpreter], which is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!) | It does this by using internally the [http://jruby.org/ Jruby interpreter], which is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!) | ||
+ | |||
+ | |||
+ | |||
+ | |||
=== Install FreeplaneJrubyInstaller in Freeplane === | === Install FreeplaneJrubyInstaller in Freeplane === | ||
− | + | You dont need to manually download anything, all downloads are automatic, just follow the instructions bellow: | |
+ | |||
+ | |||
* Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/ | * Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/ | ||
− | + | <gallery widths=120px heights=120px> | |
− | + | File:img0.png | |
+ | </gallery> | ||
Line 22: | Line 27: | ||
* Follow me: | * Follow me: | ||
− | [[File: | + | [[File:img1.png]]<br /> |
− | [[File: | + | [[File:img2.png]]<br /> |
− | [[File: | + | [[File:img3.png]]<br /> |
− | [[File: | + | [[File:img4.png]]<br /> |
− | [[File: | + | [[File:img5.png]]<br /> |
− | [[File: | + | [[File:img6.png]] |
* Open Freeplane for a second-time, and: | * Open Freeplane for a second-time, and: | ||
− | [[File: | + | [[File:img7.png]]<br /> |
− | [[File: | + | [[File:img8.png]]<br /> |
− | [[File: | + | [[File:img9.png]]<br /> |
− | [[File: | + | [[File:img10.png]] |
* Open Freeplane for a third-time, and: | * Open Freeplane for a third-time, and: | ||
− | [[File: | + | [[File:img11.png]] |
* The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray! | * The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray! | ||
− | [[File: | + | [[File:img12.png]] |
Revision as of 10:48, 11 April 2016
What is FreeplaneJrubyInstaller
Its an addon to add support for .rb (ruby) scripts in Freeplane, so that you can use .groovy .js and .rb scripts
Freeplane supports .groovy and .js (javascript) scripts out-of-the-box. This addon adds support for .rb (ruby) scripts, enabling you to use:
<freeplane-user-dir>/scripts/my_ruby_script.rb
besides .groovy and .js scripts
It does this by using internally the Jruby interpreter, which is capable of running ruby scripts with access to Java objects (Freeplane-java-objects!)
Install FreeplaneJrubyInstaller in Freeplane
You dont need to manually download anything, all downloads are automatic, just follow the instructions bellow:
- Check that your Java version is >= 1.7 (Jruby requires it). If you want to update your Java, goto https://java.com/en/download/
- Copy to your clipboard THE-URL-TO-THE-ADDON:
https://raw.githubusercontent.com/zipizap/FreeplaneJrubyInstaller/master/addon_lab/FreeplaneJrubyInstaller-v1.6.addon.mm
- Follow me:
- Open Freeplane for a second-time, and:
- Open Freeplane for a third-time, and:
- The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!