trying to run rp5 with --jruby flag #43

Closed
michelson opened this Issue Mar 22, 2012 · 2 comments

Comments

Projects
None yet
1 participant

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?

michelson closed this Mar 25, 2012

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment