• ruby »
  • capistrano3 shared/bin is empty

capistrano3 shared/bin is empty

REASON

capistrano3 部署后shared/bin下没有任何的命令工具

Anyalize

Solution

vim config/deploy.rb

set :bundle_binstubs, -> { shared_path.join(‘bin’) }

why?

https://github.com/capistrano/bundler/blob/master/CHANGELOG.md

https://github.com/capistrano/bundler/pull/61

https://github.com/capistrano/bundler/issues/45#issuecomment-69349237

Reference

http://qiita.com/yuuna/items/27a561a14399c5343d2f

This entry was posted in ruby, ruby on Rails

Leave a Reply

电子邮件地址不会被公开。

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">