我在使capistranocapify .
命令起作用时遇到麻烦。我已经成功安装了gem(手动并通过gemfile尝试,以查看它是否会对您有所帮助),并且正在使用RVM和mac osx 10.8.4。
与该问题有关的所有已记录问题都似乎是路径问题,因为我的etc/paths
文件似乎与结果完全不同echo $PATH
。但是,我不确定要纠正什么和添加什么才能使事情起作用。
如何更改我的设置并获得标题。命令工作?
以下是我的环境信息。如果有人需要更多代码,只需大声喊叫。
须藤纳米等/路径
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
的结果 echo $PATH
/Users/andrew/.rvm/gems/ruby-1.9.3-p448/bin:/Users/andrew/.rvm/gems/[email protected]/bin:/Users/andrew/.rvm/rubies/ruby-1.9.3-p448/bin:/Users/andrew/.rvm/bin:/Applications/Postgres.app/Contents/MacOS/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/Users/andrew/.rvm/bin:/home/user/.gem/ruby/1.8
捆绑安装
Using capistrano (3.0.0)
捆绑秀Capistrano
/Users/andrew/.rvm/gems/ruby-1.9.3-p448/gems/capistrano-3.0.0
使用bundle exec运行
bundle exec capify .
bundler: command not found: capify
Install missing gem executables with `bundle install`
似乎已弃用。幸运的是您找到了这个,明天我需要这个:)
https://github.com/capistrano/capistrano/issues/679
代替
capify .
跑
cap install
这些也可以用bundle exec封装。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句