Skip to content

How to build latest version

Martin Prout edited this page Jul 19, 2014 · 33 revisions

Requirements

Installed vanilla processing-2.2.1

Installed jruby (preferably 1.7.13)

jdk-1.7+

ruby-compiler gem

ideally wget

Steps

  1. Clone this repo. Unless already configured, set processing root in .rp5rc (easy set using SetProcessingRoot.pde now included in samples directory).
  2. copy processing core.jar to the ruby-processing/lib directory.
  3. cd ruby-processing
  4. rake build extensions, build gem and runs tests
  5. gem install ruby-processing-2.5.0.gem
  6. rp5 setup check pre-install (run again after)
  7. rp5 setup install to download and install jruby-complete-1.7.13
  8. From home directory rp5 unpack samples
  9. cd samples
  10. rake runs contributed samples
  11. rake shader to run shader samples
  12. rake vecmath run vecmath library samples
  13. Should wish to run spec tests the need to be run using jruby so jruby -S rspec deglut_spec.rb for example
Clone this wiki locally