/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/pma/Library/Application Support/TextMate/Bundles/Ruby on Rails.tmbundle/Support/bin/create_partial_from_selection.rb:23:in `<main>'
我从以下位置安装了 RoR 包:https://github.com/drnic/ruby-on-rails-tmbundle.git https://github.com/drnic/ruby-on-rails-tmbundle.git
使用rvm。
你使用的是 Ruby 1.9 吗? Textmate 中的 osx-plist.bundle 不适用于 Ruby 1.9。要修复它,您可以更新它正如洛伦·西格尔所描述的 http://gnuu.org/2009/05/25/getting-gittmbundle-working-with-ruby19/。我对它们进行了轻微的更改,以便在您想要的任何地方构建并创建支持目录:
$ 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/Support/lib/osx"
$ cp plist.bundle "$_"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)