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 :)
+
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:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img0.png]]
+
File:img0.png
 +
</gallery>
  
  
Line 22: Line 27:
 
* Follow me:
 
* Follow me:
  
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img1.png]]<br />
+
[[File:img1.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img2.png]]<br />
+
[[File:img2.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img3.png]]<br />
+
[[File:img3.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img4.png]]<br />
+
[[File:img4.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img5.png]]<br />
+
[[File:img5.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img6.png]]
+
[[File:img6.png]]
  
 
* Open Freeplane for a second-time, and:
 
* Open Freeplane for a second-time, and:
  
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img7.png]]<br />
+
[[File:img7.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img8.png]]<br />
+
[[File:img8.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img9.png]]<br />
+
[[File:img9.png]]<br />
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img10.png]]
+
[[File:img10.png]]
  
 
* Open Freeplane for a third-time, and:
 
* Open Freeplane for a third-time, and:
  
[[File:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img11.png]]
+
[[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:https://github.com/zipizap/FreeplaneJrubyInstaller/raw/gh-pages/images/img12.png]]
+
[[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:



Img1.png
Img2.png
Img3.png
Img4.png
Img5.png
Img6.png

  • Open Freeplane for a second-time, and:

Img7.png
Img8.png
Img9.png
Img10.png

  • Open Freeplane for a third-time, and:

Img11.png

  • The following final window should appear, which indicates that Jruby is now installed in Freeplane. Hurray!

Img12.png