KD
unread,Aug 13, 2009, 3:45:04 PM8/13/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rack-cache
If directory foo does not exist, and you run the following on ruby
under windows and jruby under windows you get different exceptions:
path = 'C:/foo/bar'
begin
File.open(path, 'wb') { |f| Marshal.dump('hello, foo', f) }
rescue IOError => err
puts err.inspect # jruby does this
rescue Errno::ENOENT => err
puts err.inspect # ruby does this
end