Closed emilsoman closed 10 years ago
That's not a bad idea, I'll give it some thought for the next release. However as you may be aware the default gem location on Ubuntu for examples requires sudo access (bloody stupid if you ask me) but I don't fancy sudo rp5.
@emilsoman I'm giving it a go for the ruby-processing-2.5.0 release (currently the extension branch) works ok for me, we will have to wait and see for Mac and Windows users.
rp5 setup check
and rp5 setup install
@monkstone can you link the commits / PR here please ?
I can test this on Mac, by the way.
@emilsoman It is all there on the extension branch last couple of commits. But be aware the extension branch requires rake-compiler gem (and hence jdk, but that should be no worries on mac) since I have converted my vecmath library to be a ruby-extension (ie pre-compiles). .
PS you need to copy processing core.jar to lib for compiling.
PPS I use jruby -S rspec deglut_spec.rb
etc to test, if you are thinking of running spec tests.
@emilsoman I have since merged the branch to master, and I expect to be pushing to rubygems soon. No-one will die even if it is broken...
install_jruby_complete is a one time activity. It doesn't look like a good idea to have this as a command hanging around forever once you install ruby-processing. How about adding a subcommand to rp5 ? Something like this :
rp5 --install-jruby-complete
?