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

Stonefield knut.stenmark at gmail.com
Tue Jun 9 06:59:49 UTC 2009


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)


- Stonefield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate-dev/attachments/20090609/2cb4b21b/attachment.html>


More information about the textmate-dev mailing list