[SVN] Re: Patch for RubyMate: 'No such file or directory' when filename cannot be resolved

James Gray james at grayproductions.net
Tue Jun 9 14:07:37 UTC 2009


On Jun 9, 2009, at 1:59 AM, Stonefield wrote:

> Looks like the following code is superfluous in TextMate::Executor.run
> and should be removed:
>             begin
>               file = Pathname.new(file).realpath.to_s
>               url = '&url=file://' + e_url(file)
>
>               display_name = File.basename(file)
>             rescue Errno::ENOENT
>               display_name = file
>             end
>
> The following line is doing the actual work:
> file, url, display_name = actual_path_name(file)

I'm not seeing any of these lines in Support/lib/tm/executor.rb's  
run() method.  What am I missing?

James Edward Gray II



More information about the textmate-dev mailing list