sudo pacman -S jruby
This will install any dependency such as openjdkYou should now build the ruby-processing-1.0.12.gem
rake
or:-
jruby -S rake
To install:-
jruby -S gem install ruby-processing-2.2.0.gem
Currently pacman installs JRuby-1.7.5 which is what we want, but there may be an issue of amd64 installs at runtime with it trying to load libjiffi-1.2.so for other architectures such as arm and i386 the fix is to install the latest jruby-launcher. However this should be installed locally from a downloaded gem (ie in the same way you just installed ruby-processing).
You can then run the rp5 script by calling it from jruby(jruby -S may not be necessary depending o your setup):-
jruby -S rp5 run mysketch.rb
or:-
/opt/jruby/bin/rp5 run mysketch.rb
or after adding the path to the bin:-
rp5 run mysketch.rb
Updated 13th October 2013
No comments:
Post a Comment