Hi, I'm having trouble getting some of the more complex Git bundle tools to work. For example, when I try to merge, it does http://img691.imageshack.us/i/picture3apw.png/
I suspect my problem is with my ruby version, I'm on OSX 10.5.6, and using rvm to manage my ruby version, with the shell variable TM_RUBY set (this has resolved all of my previous issues with rvm and textmate)
I followed the Git.tmbundle installation instructions at http://github.com/jcf/git-tmbundle, installing it in ~/Library/Application\ Support/TextMate/Bundles
I followed these instructions http://gnuu.org/2009/05/25/getting-gittmbundle-working-with-ruby19/ but the svn repo had moved, so instead I did $ svn co http://svn.textmate.org/trunk/Support/
My TM_GIT is set correctly, and simpler commands like Browse Annotated File are working.
Any help/suggestions would be appreciated. -Josh
PS - Full text of the error: /Users/joshuacheek/Library/Application Support/TextMate/Support/lib/ui.rb:237:in `to_plist': An object in the argument tree could not be converted (ArgumentError) from /Users/joshuacheek/Library/Application Support/TextMate/Support/lib/ui.rb:237:in `request_item' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../lib/ui.rb:9:in `request_item_with_force_pick' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/../app/controllers/branch_controller.rb:71:in `merge' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in `block in call' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:94:in `with_filters' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:105:in `call' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/lib/application_controller.rb:112:in `call' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:56:in `dispatch_normal' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:74:in `dispatch' from /Users/joshuacheek/Library/Application Support/TextMate/Bundles/Git.tmbundle/Support/tmvc/tmvc.rb:96:in `dispatch' from /tmp/temp_textmate.FkobtG:4:in `'
On 13 Apr 2010, at 06:30, Josh Cheek wrote:
[…] I suspect my problem is with my ruby version, I'm on OSX 10.5.6, and using rvm to manage my ruby version […] PS - Full text of the error: /Users/joshuacheek/Library/Application Support/TextMate/Support/lib/ ui.rb:237:in `to_plist': An object in the argument tree could not be converted (ArgumentError) […]
Indeed this is a ruby problem.
Any chance you can use the stock ruby included with Mac OS X?
Your problem is that the version of ruby you use use different ids for the object types (Hash, Array, etc.) which makes the plist extension fail (as it has no idea what the object types are, as it was compiled with other values for the identifiers).
I am quite sure this is a problem with the build process of your installed ruby, as these ids should be binary compatible, but I have no specific knowledge about the problem, above info was just from helping a guy who built his own ruby (and had this problem).
Hi,
Am 06.05.10 21:05, schrieb Allan Odgaard:
On 13 Apr 2010, at 06:30, Josh Cheek wrote:
[…] I suspect my problem is with my ruby version, I'm on OSX 10.5.6, and using rvm to manage my ruby version […] PS - Full text of the error: /Users/joshuacheek/Library/Application Support/TextMate/Support/lib/ui.rb:237:in `to_plist': An object in the argument tree could not be converted (ArgumentError) […]
Indeed this is a ruby problem.
Any chance you can use the stock ruby included with Mac OS X?
Your problem is that the version of ruby you use use different ids for the object types (Hash, Array, etc.) which makes the plist extension fail (as it has no idea what the object types are, as it was compiled with other values for the identifiers).
I'm having a similar problem with the ruby on rails bundle when generating partials (shift-ctrl-h) and using ruby 1.9.x. I set TM_RUBY with rvm to several versions. ruby 1.8.7 runs fine, every 1.9.x not.
I don't want to set TM_RUBY to 1.8.7 because then every script I run with cmd-r uses also 1.8.7.
Isn't there a other solution?
TIA, Martin
On 28 Oct 2010, at 21:12, Martin wrote:
[...] I'm having a similar problem with the ruby on rails bundle when generating partials (shift-ctrl-h) and using ruby 1.9.x. I set TM_RUBY with rvm to several versions. ruby 1.8.7 runs fine, every 1.9.x not.
I don't want to set TM_RUBY to 1.8.7 because then every script I run with cmd-r uses also 1.8.7.
Isn't there a other solution?
I think you have it backwards.
You should set your PATH so that ruby 1.8.x is found first.
Then set TM_RUBY to your 1.9.x ruby.
That way, all commands in TextMate should use 1.8.x but command R will use 1.9.x for your own scripts.