ui.rb:308:in`to_plist': An object in the argument tree could not be converted (ArgumentError) from ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:308:in `blockininitialize' from ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:307:in `popen'from~/Library/ApplicationSupport/TextMate/Managed/Bundles/BundleSupport.tmbundle/Support/shared/lib/ui.rb:307:in`initialize' from ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:20:in `new' from ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:20:in `dialog'from~/Library/ApplicationSupport/TextMate/Managed/Bundles/BundleSupport.tmbundle/Support/shared/lib/progress.rb:42:in`call_with_progress' from ~/_test_tm.rb:12:in `<main>'
其中关键是: ui.rb:308: in `to_plist’: An object in the argument tree could not be converted
如果你的异常是这个那么可以肯定的时候和我的情况一直。下面是我的一个临时解决方案。
cd ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx
git clone git://github.com/kballard/osx-plist.git
cd osx-plist/ext/plist
ruby extconf.rb && make
cd ../../../
mv plist.bundle plist.bundle.old
cp osx-plist/ext/plist/plist.bundle ./plist.bundle
这样Ctag是可以正常运行的,但是会导致 Git Bundle 报错:
12
dyld: lazy symbol binding failed: Symbol not found: _rb_intern2 Referenced from: ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle Expected in: flat namespace
dyld: Symbol not found: _rb_intern2 Referenced from: ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx/plist.bundle Expected in: flat namespace
我的一个临时解决方案是:
123
cd ~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/osx
git clone git://github.com/kballard/osx-plist.git
cd osx-plist/ext/plist