[SVN] Re: error in ui.rb .. line 1
Hans-Jörg Bibiko
bibiko at eva.mpg.de
Wed Dec 17 14:33:34 UTC 2008
On 17.12.2008, at 15:10, Yves Dufour wrote:
> /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:
> 1:in `require': no such file to load -- English (LoadError)
> from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
> ui.rb:1
> from /tmp/temp_textmate.soGhcn:3:in `require'
> from /tmp/temp_textmate.soGhcn:3
>
>
> which leads into the ui.rb file :
>
> require 'English'
> require File.dirname(__FILE__) + '/escape'
> require File.dirname(__FILE__) + '/osx/plist'
>
> TM_DIALOG = e_sh ENV['DIALOG'] unless defined?(TM_DIALOG)
>
> module TextMate
>
> module UI
> ...
>
Yves, I do not know it precisely but I guess your ui.rb is out-dated.
The latest ui.rb begins with:
require 'English'
# require File.dirname(__FILE__) + '/escape'
# require File.dirname(__FILE__) + '/osx/plist'
# Need to change this for testing the file in another folder
require ENV['TM_SUPPORT_PATH'] + '/lib/escape'
require ENV['TM_SUPPORT_PATH'] + '/lib/osx/plist'
TM_DIALOG = e_sh ENV['DIALOG'] unless defined?(TM_DIALOG)
Do update the “Support Folder” manually or by using GetBundles.
--Hans
More information about the textmate-dev
mailing list