Skip to content

Running jruby_art sketches from console

Martin Prout edited this page Jan 29, 2015 · 5 revisions

Assuming you are Mac or linux user, you will be happy running scrips from the console, to avoid path issues best advice is to cd to the directory containing the script you want to run. For class wrapped sketches you should mostly be able to run directly using jruby:-

jruby my_sketch.rb

for bare sketches or sketches with images/shaders you should use k9 run:-

k9 run my_sketch.rb
Clone this wiki locally