我的 gemfile 中有以下自定义炼油厂 CMS 引擎:
gem 'refinerycms-venues', '1.0', :path => 'vendor/engines', :require => 'venues'
gem 'refinerycms-events', '1.0', :path => 'vendor/engines', :require => 'events'
gem 'refinerycms-available_spaces', '1.0', :path => 'vendor/engines', :require => 'available_spaces'
如果我把这些拿出来,capistrano 部署得很好。但是,如果我把它们留在 capistrano pukes 中,就像一只生病的狗:
* executing "bundle install --gemfile /home/some_user/our-website.com/releases/20101109020214/Gemfile --path /home/some_user/our-website.com/shared/bundle --deployment --quiet --without development test engines"
servers: ["our-website.com"]
[our-website.com] executing command
** [out :: our-website.com] The path `/home/some_user/vendor/engines` does not exist.
command finished
*** [deploy:update_code] rolling back
* executing "rm -rf /home/some_user/our-website.com/releases/20101109020214; true"
servers: ["our-website.com"]
[our-website.com] executing command
command finished
failed: "sh -c 'bundle install --gemfile /home/some_user/our-website.com/releases/20101109020214/Gemfile --path /home/some_user/our-website.com/shared/bundle --deployment --quiet --without development test engines'" on our-website.com
就像它看到那些供应商/引擎并认为出于某种原因需要安装它们。我还没有弄清楚如何排除它们。我试图将它们分组,但应用程序无法运行。
有没有人有任何想法?
谢谢,克雷格