jashkenas / ruby-processing

Code as Art, Art as Code. Processing and Ruby are meant for each other.
http://github.com/jashkenas/ruby-processing/wikis
Other
1.28k stars 94 forks source link

windows app export has no ln_s support #3

Closed aradke closed 15 years ago

aradke commented 15 years ago

Running a windows app export fails with error due to no symbolic link support ln_s support: This error occurs in both the the dos and cygwin shell.

 $ rp5 app jwishy.rb
 c:/jruby/lib/ruby/1.8/fileutils.rb:338:in `ln_s': symlink() function is unimplemented on this machine (NotImplementedError)
    from c:/jruby/lib/ruby/1.8/fileutils.rb:1411:in `fu_each_src_dest0'
    from c:/jruby/lib/ruby/1.8/fileutils.rb:336:in `ln_s'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/lib/ruby-processing/exporters/application_exporter.rb:77:in `symlink_library_into_place'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/lib/ruby-processing/exporters/application_exporter.rb:32:in `export!'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/lib/ruby-processing/runner.rb:90:in `app'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/lib/ruby-processing/runner.rb:44:in `execute!'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/lib/ruby-processing/runner.rb:34:in `execute'
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/bin/rp5:4
    from C:/jruby/lib/ruby/gems/1.8/gems/ruby-processing-1.0.7/bin/rp5:19:in `load'
    from c:\jruby\bin\rp5:19
jashkenas commented 15 years ago

I'm afraid I don't have your problem on my Windows VM. It shouldn't be trying to symlink when you export apps on Windows, instead, it should display a warning. To help get to the bottom of this, would you mind firing up an IRB console and telling me the value of your RUBY_PLATFORM?