Skip to content
Martin Prout edited this page Feb 14, 2017 · 22 revisions

Some kind windows expert will edit this Since jruby_art-1.2.1, the k9 --install creates a default configuration that may need editing (NB: if you want to test this tool you will need to delete / move any existing config.yml). For some reason yaml doesn't like drive letters (but then they may not be necessary).

You need to install java8 and processing-3.3 and have some form of ruby installed, and ideally wget:- Important you need to have a configuration file "~/.jruby_art/config.yml" that looks something like the following where USER is changed to real user name, and we assume you've installed processing-3.3 under PROGRAMS, Java (it is a good ide not to have spaces in folder names, but if you do make sure to use quotes).

# K9_ROOT: "C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/jruby_art-1.2.9" # should not necessary
PROCESSING_ROOT: "C:/PROGRAMS/Java/Processing" # just a suggestion
sketchbook: "C:/Users/USER/Documents/Processing" # you may have set a different location
# JRUBY: false # uncomment to use jruby-complete by default especially if you haven't installed jruby

Or you could try running our vanilla processing configuration sketch from processing ide.

Install JRubyArt gem

gem install jruby_art

Install JRuby-Complete

k9 --install # installs jruby-complete and samples to ~/rp_samples, also config.yml to ~/.jruby_art/config.yml

NB: you will probably need to edit your sketchbook: and PROCESSING_ROOT:, quotes are important to cope with dodgy windows paths...