hello,
i've checked out a current revision of the Bundle repository (rev. 429) and when I try to use any of the new subversion commands I get the following error:
/Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:49: undefined method `[]' for nil (NameError) from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:46:in `call' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/Builder.rb:226:in `_nested_structures' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/Builder.rb:148:in `method_missing' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:46 from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:44:in `each_line' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:44 from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:43:in `call' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/Builder.rb:226:in `_nested_structures' ... 6 levels... from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:29:in `call' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/Builder.rb:226:in `_nested_structures' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/Builder.rb:148:in `method_missing' from /Volumes/Data/Applications/TextMate.app/Contents/SharedSupport/Bundles/ Subversion.tmbundle/Tools/format_status.rb:29
I've installed subversion from the 'official' binary package at http://metissian.com/projects/macosx/subversion/
before setting TM_SVN to ''/usr/local/bin/svn' it wouldn't run at all, complaining, that it can't find 'svn' (which is odd, as /usr/local/bin is in $PATH...
any ideas?
thanks in advance,
tom -- Tom Lazar, http://tomster.org
On 5 Mar 2005, at 13:38, Tom Lazar wrote:
i've checked out a current revision of the Bundle repository (rev. 429) and when I try to use any of the new subversion commands I get the following error: <snip> Long error </snip>
I just updated the Subversion bundle to rev 429 as well, and encountered the same error as you. However, after setting the TM_SVN to ''/usr/local/bin/svn' it worked just fine. Remember to close the Prefs window after you've added the new variable for it to work properly.
I've installed subversion from the 'official' binary package at http://metissian.com/projects/macosx/subversion/
Not sure if there's a difference between the packages/installations, but I'm using this installation: [ http://homepage.mac.com/martinott/ ]
any ideas?
Only those I'm afraid :)
Kind regards,
Mats
---- "TextMate, coding with an incredible sense of joy and ease" - www.macromates.com -
On Mar 5, 2005, at 14:38, Tom Lazar wrote:
i've checked out a current revision of the Bundle repository (rev. 429) and when I try to use any of the new subversion commands I get the following error:
Could be that Ruby 1.8 has sneaked in as a requirement. I've been using it with Ruby 1.6, but maybe not the latest version (of the svn_commit.rb) -- Chris, are you reading this list? :)
before setting TM_SVN to ''/usr/local/bin/svn' it wouldn't run at all, complaining, that it can't find 'svn' (which is odd, as /usr/local/bin is in $PATH...
With the default shell variables in TM it will read the path in /etc/profile, but not any further path you setup in e.g. ~/.bash_profile -- you can change BASH_ENV to point to your user profile to have it source this file instead.
In beta 6 I'll change it so that BASH_ENV points to a file in the TextMate bundle that (conditionally) sources both of these files (~/.bash_profile + /etc/profile). The reason I can't just set the default value of BASH_ENV to ~/.bash_profile is, that if that file is missing, you won't get any path at all.
On 05.03.2005, at 21:48, Allan Odgaard wrote:
With the default shell variables in TM it will read the path in /etc/profile, but not any further path you setup in e.g. ~/.bash_profile -- you can change BASH_ENV to point to your user profile to have it source this file instead.
aha! that was it...
i simply set TM_SVN in my ~/.cshrc (using tm, of course ;-)
now that i've added it to the preferences in TextMate it all works as advertised.
thanks!
tom
-- Tom Lazar, http://tomster.org