Dave Burt
11/9/2004 1:59:00 AM
"Mary Dixon" <sw@swwd.net> wrote...
> /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
> `initialize':
> No such file or directory - "/Users/marydixon/Desktop/style.css "
> (Errno::ENOENT)
> from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
> `new'
> from /Users/marydixon/Documents/business docs/htmlcolors.rb:213:in
> `scanFile'
> from /Users/marydixon/Documents/business docs/htmlcolors.rb:294:in
> `process'
> from /Users/marydixon/Documents/business docs/htmlcolors.rb:376
> sawtooth:~ marydixon$
>
>
> As you can see, I get a short list of errors although it seems other
> things
> about it work just fine. ...
As Esteban said, it's not a list of errors, it's one error and its "stack"
including all the methods and blocks that are currently executing.
The error itself, at the top, is Errno::ENOENT, aka "No such file or
directory".
I'd be guessing that you're doing something like:
File.new("/Users/marydixon/Desktop/style.css ")
on line 213. Watch your whitespace - .strip it, .chomp it.
Cheers,
Dave