找不到cap命令 [英] cap command not found
问题描述
我使用Mac OS X 10.8.2,并安装了ruby&使用rbenv的rails。
我尝试安装capistrano,它带有 $ b
gem安装capistrano
成功安装了capistrano-2.13.5
1 gem已安装
为capistrano-2.13.5安装ri文档...
安装capistrano-2.13.5的RDoc文档...
每次我尝试使用代码进行安装时, 1 gem installed。
但是,如果我写的是
capify。
我得到这样的错误。
< blockquote>
zsh:找不到命令:capify
My $ PATH
blockquote
.rbenv /垫片:/Applications/Postgres.app/Contents/MacOS/bin:/Users/lutfidemirci/.rbenv/bin:在/ usr / bin中:/ bin中:/ usr / sbin目录:/ sbin目录:在/ usr / local / bin目录:/var/lib/gems/1.8/bin
使用 rbenv rehash
使rbenv为capistrano生成二进制填充。
I'm using Mac OS X 10.8.2 and I installed ruby & rails with rbenv.
I try to install capistrano with
gem install capistrano
Successfully installed capistrano-2.13.5
1 gem installed
Installing ri documentation for capistrano-2.13.5...
Installing RDoc documentation for capistrano-2.13.5...
Everytime I try to install with code, It says "1 gem installed".
But, If I write
capify .
I'm getting error like this.
zsh: command not found: capify
My $PATH
/Users/lutfidemirci/.rbenv/bin:/Users/lutfidemirci/.rbenv/shims:/Users/lutfidemirci/.rbenv/shims:/Applications/Postgres.app/Contents/MacOS/bin:/Users/lutfidemirci/.rbenv/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/var/lib/gems/1.8/bin
Use rbenv rehash
to make rbenv generate a binary shim for capistrano.
这篇关于找不到cap命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!