Project

General

Profile

Actions

Feature #2408

closed

better error reporting in windows when you try to run a directory

Added by rogerdpack (Roger Pack) over 14 years ago. Updated about 12 years ago.

Status:
Closed
Target version:
[ruby-core:26925]

Description

=begin
Currently in linux, you may get this:

$ ruby -c wbo_backup
ruby: Is a directory - wbo_backup (Errno::EISDIR)

however we are not so fortunate in windows

C:\dev\ruby\p2pwebclient\documents\writeup\final>ruby logs
ruby: Permission denied -- logs (LoadError)

It would be nice to get a similar error message in windows.

Thanks!
-r
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0