public
Description: Code as Art, Art as Code. Processing and Ruby are meant for each other.
Homepage: http://github.com/jashkenas/ruby-processing/wikis
Clone URL: git://github.com/jashkenas/ruby-processing.git
Search Repo:
100755 11 lines (9 sloc) 0.553 kb
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash
 
# This script opens up Ruby-Processing Sketches in a Live-Coding
# Environment (jIRB), so that you can go code on the fly.
 
if [ -e "$1" ]
then
java -cp script/base_files/jruby-complete.jar -Xdock:name=Ruby-Processing -Xdock:icon=script/application_files/Contents/Resources/sketch.icns org.jruby.Main script/live_files/live_coding.rb "$1"
else
java -cp script/base_files/jruby-complete.jar -Xdock:name=Ruby-Processing -Xdock:icon=script/application_files/Contents/Resources/sketch.icns org.jruby.Main script/live_files/live_coding.rb
fi