Hi,
Am using ruby 1.8.4 on WinXP through the OneClick installer (RC 1
build). I came across an issue with Rake's PackageTask using safe_ln.
It appear that ln now throws a NotImplemented error on Windows, rather
than an Errno. This fixes it:
--- rake.rb 2006-03-31 10:21:13.439299300 +1100
+++ rake.rb.patched 2006-03-31 10:19:15.482491100 +1100
@@ -603,7 +603,7 @@
else
begin
ln(*args)
- rescue Errno::EOPNOTSUPP, Errno::EXDEV
+ rescue Errno::EOPNOTSUPP, Errno::EXDEV, NotImplementedError
LN_SUPPORTED[0] = false
cp(*args)
end
I haven't done a full scale investigation, I just saw the error and
the fix seems obvious and trivial. If you need me to carry out more
tests just let me know.
Cheers,
Assaph
_______________________________________________
Rake-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rake-devel