Skip to content
Martin Prout edited this page Mar 20, 2014 · 16 revisions
  • System install JRuby (use rvm if you must).
  • Install the ruby-processing using the installed jruby (sudo prefix may be required on some systems) jruby -S gem install ruby-processing-2.1.2.gem
  • Install all the gems you want use with jruby or ruby-processing the same way jruby -S gem install some_gem (where some gem is a remote rubygem gem)

When running the sketch use the local version of JRuby, to be sure that you can access the installed gems...

See samples/external_library/ruby_gem

An alternative way of using regular installed rubygems is to set the GEM_HOME environmental variable but this may not work..

Or allow rvm to sort it out for you?

Clone this wiki locally