I just upgraded to 1.5.2 (v1103), and received the attached error following a Subversion commit. Other commands like diff and info seem to work fine.
Any ideas? Commit
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:49:in `matches_to_status': undefined method `rstrip' for "M ":String (NameError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:49:in `map' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:49:in `each' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:49:in `map' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:49:in `matches_to_status' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:110 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:24:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:226: in `_nested_structures' from /Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:148: in `method_missing' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:24 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:18:in `call' from /Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:226: in `_nested_structures' from /Applications/TextMate.app/Contents/SharedSupport/Support/bin/Builder.rb:148: in `method_missing' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Subversion.tmbundle /Support/svn_commit.rb:18
Brian wrote:
Yup. I'm running ruby 1.6.8 on Panther.
Most of the ruby scripts are currently written for 1.8 because this is installed on Tiger and the people who are still on Panther and use ruby, usually have 1.8 installed, and so it just would be additional work to port stuff back. So my suggestion is to just install it and enjoy, because there are more commands that implicitly require 1.8. :)
~$ cd ~/src ~/src$ wget --passive ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.4.tar.gz ~/src$ tar vxzf ruby-1.8.4.tar.gz ~/src$ cd ruby-1.8.4 ~/src$ ./configure ~/src$ make ~/src$ sudo make install
And then adjust TM_RUBY to point to /usr/local/bin/ruby.