Skip to content

Running jruby_art sketches from console

Martin Prout edited this page Jul 27, 2015 · 5 revisions

Assuming you are Mac or linux user, you will be happy running scripts from the console, to avoid path issues best advice is to cd to the directory containing the script you want to run:-

k9 run my_sketch.rb

for bare sketches or sketches with images/shaders you should use --nojruby flag ro use jruby-complete instead of an installed version of jruby:-

k9 --nojruby run my_sketch.rb
Clone this wiki locally