Windows XP RubyFile.link issue

Hi all,

I am a bit new to the ruby world but I have an issue where I am trying
to run a db:load rake task and i get this error(full trace below)

– create_table(“addresses”, {:force=>true})
rake aborted!
link() function is unimplemented on this machine

I am not sure why it is trying to call the link function, but it does. I
did find that this issue has been fixed for some other functions notably
(chown, lchown, and lchmod) That bug can be found here:
http://jira.codehaus.org/browse/JRUBY-2274

Was there a reason that link and syslink where not taken care of? And is
there a work around for this? I have tried both 1.2.0 and 1.3.1 and get
the same error.

C:/Software/jruby-1.2.0/bin/…/bin/jruby.bat -S rake db:schema:load
(in C:/workspace/trisano/trisano/webapp)
no such file to load – cucumber/rake/task
– create_table(“addresses”, {:force=>true})
rake aborted!
link() function is unimplemented on this machine

(See full trace by running task with --trace)
rake aborted!
Command failed with status (1):
[C:/Software/jruby-1.2.0/bin/…/bin/jruby.b…]
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in
sh' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:incall’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in
sh' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1098:insh’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1029:in
ruby' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1098:inruby’
C:/workspace/trisano/trisano/webapp/lib/tasks/dev.rake:58:in
core_db_rebuild_tasks' C:/workspace/trisano/trisano/webapp/lib/tasks/dev.rake:64 C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:incall’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in
execute' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:ineach’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in
execute' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:ininvoke_with_call_chain’
C:/Software/jruby-1.2.0/bin/…/lib/ruby/1.8/monitor.rb:191:in
mon_synchronize' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:ininvoke_with_call_chain’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in
invoke' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:ininvoke_task’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:ineach’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in
top_level' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2023:in
top_level' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2001:inrun’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2068:in
standard_exception_handling' C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:1998:inrun’
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:31
C:/Software/jruby-1.2.0/lib/ruby/gems/1.8/gems/rake-0.8.7/bin/rake:19:in
`load’
C:\Software\jruby-1.2.0\bin…\bin\rake:19

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs