在TextMate中我无法使用Rails tmbundle创建局部视图

fiv*_*six 5 textmate ruby-on-rails textmatebundles textmate2

/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>'
Run Code Online (Sandbox Code Playgroud)

我安装了RoR软件包:https://github.com/drnic/ruby-on-rails-tmbundle.git

使用rvm.

Tur*_*adg 9

你在使用Ruby 1.9吗?Textmate中的osx-plist.bundle不适用于Ruby 1.9.要修复它,您可以按照Loren Segal的描述进行更新.我已稍微更改它们以构建您想要的任何位置并创建支持目录:

$ 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 "$_"
Run Code Online (Sandbox Code Playgroud)

  • 使用"/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx"作为目标目录为我工作. (3认同)