工作更新
为了解决这个问题,我只是将 tasks/facebooker 文件夹从 venders/facebooker/lib/ 目录拖到 lib 中。迁移现在起作用。
我有一个无法部署的经过全面测试且正常工作的 Rails 应用程序。它正在运行 facebooker 并使用 restful 身份验证。
在 Capistrano 我收到以下消息:
latest => /home/fogonthedowns/blog.justinzollars.com/releases/20100710053254
* executing "cd /home/fogonthedowns/blog.justinzollars.com/releases/20100710053254; rake RAILS_ENV=production db:migrate"
servers: ["blog.justinzollars.com"]
[blog.justinzollars.com] executing command
** [out :: blog.justinzollars.com] (in /home/fogonthedowns/blog.justinzollars.com/releases/20100710053254)
** [out :: blog.justinzollars.com] rake aborted!
** [out :: blog.justinzollars.com] no such file to load -- tasks/facebooker
** [out :: blog.justinzollars.com] /home/fogonthedowns/blog.justinzollars.com/releases/20100710053254/Rakefile:9
** [out :: blog.justinzollars.com] (See full trace by running task with --trace)
command finished
文件tasks/facebooker存在,(见下面的评论),为什么 Capistrano 不完成这个部署?