1
所以我试图用nginx /独角兽服务器,使用RVM获得capistrano部署设置。找不到耙子在capistrano部署
的部署工作,但是当我试图通过与Capistrano的麒麟互动我得到一个错误,如:
[~/source/quibbler/config]
$ cap unicorn:start
* executing `unicorn:start'
* executing "cd /u/apps/quibbler/current && bundle exec unicorn_rails -c /u/apps/quibbler/current/config/unicorn-production.rb -E production -D"
servers: ["wwwtestvm.whf.app"]
[wwwtestvm.whf.app] executing command
** [out :: wwwtestvm.whf.app] Could not find rake-0.9.2 in any of the sources
command finished in 553ms
failed: "rvm_path=/usr/local/rvm /usr/local/rvm/bin/rvm-shell '[email protected]' -c 'cd /u/apps/quibbler/current && bundle exec unicorn_rails -c /u/apps/quibbler/current/config/unicorn-production.rb -E production -D'" on wwwtestvm.whf.app
我已经找遍了所有interwebs晚上无法找到解决方案。如果我将该命令复制粘贴到我的shell中,它可以正常工作,所以我99%确定它与RVM环境不正确有关。
我已经创建了我的部署和麒麟CONFIGS的要点:
https://gist.github.com/1375736#file_deploy.rb https://gist.github.com/1375736#file_unicorn_production.rb
任何帮助或指导,将不胜感激。