我正按照说明尝试安装YouTube插件:
./script/plugin install git://github.com/vibha/youtube-model.git
但我一直收到这个错误
svn: '/Users/tammam56/rubydev/war/vendor/plugins' is not a working copy
Plugin not found: ["git://github.com/vibha/youtube-model.git"]
我确定我有git
which git
/usr/local/bin/git
并确保它在路径中:
$PATH
-bash: /opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin: No such file or directory
我正在使用Ruby 1.9.1和Mac OSX Leopard。
任何想法?
谢谢,
担
答案 0 :(得分:2)
试
script\plugin install http://github.com/vibha/youtube-model.git/
注意到最后的“/”!
答案 1 :(得分:1)
在Windows上,您可能还需要替换
行stream.reopen(RUBY_PLATFORM =〜/ mswin /?'NUL:':'/ dev / null')
使用:
stream.reopen( 'NUL:')
在文件C:\ Ruby19 \ lib \ ruby \ gems \ 1.9.1 \ gems \ activesupport-2.3.5 \ lib \ active_support \ core_ext \ kernel \ reporting.rb