Closed illtellyoulater closed 11 years ago
I can't really help as a linux user, however recently I've been working on updating ruby processing for jruby-1.7.2 and processing-2.0, and I hope to get a version out when processing-2.0b8 gets released. I found I needed to change the run.erb script/template as follows to get it to work on linux
APPDIR=$(dirname "$0") cd "$APPDIR/lib" java -cp "<%= @linux_class_path %>" org.jruby.Main ../lib/ruby-processing/runners/run.rb <%= @main_file %>
The change is in the java -cp line, replaced ruby-processing/runners/run.rb with ../lib/ruby-processing/runners/run.rb .......
I see, thanks for taking the time to answer, well I think I'll wait for next version to use this feature then :) Thanks for working on this!
@jjgh might be a bit of problem with that strategy until I can get someone to test/help work on Windows I don't even now whether the development version https://github.com/monkstone/ruby-processing works on windows.
@jjgh I think the classpath separator may have been wrong was
:should have been
;for Windows. Anyway I can't test on Windows, but I've just updated exported classpath for both linux and Windows. Linux ruby-processing now can run exported sketches using P2D, and P3D (previously broken since ruby-processing-2.0).
PS: I just found out gem is too big to be hosted at rubygems, so foreseeable future cloning this repository (or downloading a release) followed by autoubuild will be the only way of installing ruby-processing.
No-one seems interested, either no windows users or has been fixed?
Sorry for leaving you alone with this... thing is, if it works people will not loose their interest in it... :) This unfortunately happened to me as I am not an experienced developer so my debugging abilities are very limited (sometimes to the extent of only being able to report a bug...). Also I really hope you can find a way around rubygems size limit, because lack of gem installation in next versions could further increase disinterest around this project, and it would really not deserve this! Thanks again for time spent on this, hope things will be rolling better with time and new ruby's :)
The new build is reported as working on Windows. Otherwise I would not have bothered catering for paths with spaces. No-one is supporting version 1.0.11.
right, thanks.
But here is what I get on windows xp:
rp5 app bird.rb
C:/ruby193/lib/ruby/1.9.1/fileutils.rb:351:in'
symlink': symlink() function is unimplemented on this machine (NotImp lementedError) from C:/ruby193/lib/ruby/1.9.1/fileutils.rb:351:in
block in ln_s' from C:/ruby193/lib/ruby/1.9.1/fileutils.rb:1531:infu_each_src_dest0' from C:/ruby193/lib/ruby/1.9.1/fileutils.rb:349:in
ln_s' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/lib/ruby-processing/exporters/application_ex porter.rb:81:insymlink_library_into_place' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/lib/ruby-processing/exporters/application_ex porter.rb:32:in
export!' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/lib/ruby-processing/runner.rb:116:inapp' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/lib/ruby-processing/runner.rb:69:in
execute !' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/lib/ruby-processing/runner.rb:59:inexecute ' from C:/ruby193/lib/ruby/gems/1.9.1/gems/ruby-processing-1.0.11/bin/rp5:10:in
<top (required)>' from C:/ruby193/bin/rp5:23:inload' from C:/ruby193/bin/rp5:23:in
Any advice ? ruby -v ruby 1.9.3p28 (2012-01-28) jruby -v jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) Client VM 1.6.0_31-b05 [Windows XP-x86]
Thanks