Ruby on rails 尝试从Textmate 2中的选择创建部分将抛出错误

Ruby on rails 尝试从Textmate 2中的选择创建部分将抛出错误,ruby-on-rails,textmate,textmate2,Ruby On Rails,Textmate,Textmate2,尝试从所选内容创建分部时出现以下错误-Ctrl+Shift+H。知道是什么原因/如何修复吗 /Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:371:in `to_plist': An object in the argument tree could not be converted (ArgumentError)

尝试从所选内容创建分部时出现以下错误-
Ctrl+Shift+H
。知道是什么原因/如何修复吗

/Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:371:in `to_plist': An object in the argument tree could not be converted (ArgumentError)
    from /Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:371:in `request_string_core'
    from /Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:209:in `request_string'
    from /Users/harry/Library/Application Support/TextMate/Managed/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:24:in `<main>'
/Users/harry/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:371:in`to_plist':无法转换参数树中的对象(ArgumentError)
from/Users/harry/Library/Application-Support/TextMate/Managed/Bundles/Bundle-Support.tmbundle/Support/shared/lib/ui.rb:371:in'request\u string\u core'
from/Users/harry/Library/Application-Support/TextMate/Managed/Bundles/Bundle-Support.tmbundle/Support/shared/lib/ui.rb:209:“请求字符串”中的
from/Users/harry/Library/Application Support/TextMate/Managed/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:24:in`'
答案解决了问题

$ git clone git://github.com/kballard/osx-plist.git
$ cd osx-plist/ext/plist
$ ruby extconf.rb && make
$ mkdir -p "$HOME/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx"
$ cp plist.bundle "$_"