jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.

Home Page:http://github.com/jashkenas/ruby-processing/wikis

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

trying to run rp5 with --jruby flag

michelson opened this issue · comments

Hi,

im using Rp5 and im trying to run a sketch with --jruby flag

 rp5 run try.rb --jruby

i got two warnings before the sketch aborts without any verbosities

 warning: -J-Xdock:name=Ruby-Processing argument ignored (launched in same VM?)
 warning: -J-Xdock:icon=/Users/migue/.rvm/gems/jruby-1.6.5.1@global/gems/ruby-processing-1.0.11/lib/templates/application/Contents/Resources/sketch.icns argument ignored (launched in same VM?)

without the --jruby flag the program runs fine, im using jruby 1.6.5.1 version
jruby 1.6.5.1 (ruby-1.8.7-p330) (2011-12-27 1bf37c2) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]

im trying this because i need to include some rubygems in the sketch.

how should i proceed with this ?

regards

any thoughts on this?

i think the problem is in the ignored arguments; -J-Xdock:icon and -J-Xdock:name
if i run the code directly with
jruby /path_to/lib/ruby-processing/runners/run.rb test.rb
it works