问题尝试使用Rails插件安装
问题描述:
我试图安装YouTube插件按指令:问题尝试使用Rails插件安装
./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。
有什么想法?
感谢,
担
答
尝试 “/” 结尾的
script\plugin install http://github.com/vibha/youtube-model.git/
通知!
答
在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
错误是如何错误svn? – 2009-09-29 22:21:26