我正在使用Mac OS X 10.8.2和我安装了
ruby&铁路与rbenv.
我尝试安装capistrano
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…
每次我尝试安装代码,它说“安装了1宝石”.
但是,如果我写
capify .
我得到这样的错误.
zsh: command not found: capify
我的$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
解决方法
使用rbenv rehash使rbenv为capistrano生成二进制的垫片.