[TxMt] Re: Git Bundle plist errors

Mikael Henriksson mikael at zoolutions.se
Fri Apr 15 20:29:45 UTC 2011



Allan Odgaard-4 wrote:
> 
> 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.
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
> 
> 

That does not work for me. My path is set to :
/usr/local/bin:/Users/mhenrixon/.rvm/gems/ruby-1.9.2-p80 at global/bin://Users/mhenrixon/.rvm/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/usr/X11/bin

if I run "which ruby" from the terminal I get the following output:
/usr/local/bin/ruby and if I do ruby -v I get 1.8.7 but TextMate still gives
me crap: 

/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in
`to_plist': An object in the argument tree could not be converted
(ArgumentError)
	from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:355:in
`request_string_core'
	from
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:193:in
`request_string'
	from /Users/mhenrixon/Library/Application
Support/TextMate/Bundles/Haml-TextMate.tmbundle/Support/bin/create_partial_from_selection.rb:22:in
`<main>'

What can I do now?
-- 
View this message in context: http://old.nabble.com/Git-Bundle-plist-errors-tp28225818p31389643.html
Sent from the textmate users mailing list archive at Nabble.com.



More information about the textmate mailing list