Windows 部署rails应用程序Capistrano存在大量错误

Windows 部署rails应用程序Capistrano存在大量错误,windows,git,ruby-on-rails-3.1,github,capistrano,Windows,Git,Ruby On Rails 3.1,Github,Capistrano,我第一次尝试在vexxhost上部署rails应用程序。我使用github作为源代码管理和capistrano C:/Ruby193/lib/ruby/gems/1.9.1/gems/capistrano-2.14.1/lib/capistrano/configuration/loading.rb:18:in `instance': Please require this file from within a Capistrano recipe (LoadError) from C:/

我第一次尝试在vexxhost上部署rails应用程序。我使用github作为源代码管理和capistrano

 C:/Ruby193/lib/ruby/gems/1.9.1/gems/capistrano-2.14.1/lib/capistrano/configuration/loading.rb:18:in `instance': Please require this file from within a Capistrano recipe (LoadError)
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/capistrano-vexxhost-1.0.3/lib/capistrano-vexxhost/capistrano_integration.rb:6:in `<top (required)>'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/capistrano-vexxhost-1.0.3/lib/capistrano-vexxhost.rb:2:in `require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/capistrano-vexxhost-1.0.3/lib/capistrano-vexxhost.rb:2:in `<top (required)>'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `each'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `block in require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/bundler-1.2.3/lib/bundler.rb:128:in `require'
    from C:/Users/mummy/LagoAds/config/application.rb:9:in `<top (required)>'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:53:in     `require'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:53:in `block in <top (required)>'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `tap'
    from C:/Ruby193/lib/ruby/gems/1.9.1/gems/railties-3.2.6/lib/rails/commands.rb:50:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
这是我的部署文件

   require 'bundler/capistrano'
   require 'capistrano'
   require 'bundler'
   require 'capistrano-vexxhost'

   # Account Settings

   ssh_options[:forward_agent] = true
   set :scm_command, "/home/user/opt/bin/git"
   set :local_scm_command,"git"
   set :user, "xxxxxxxx"
   set :password, "xxxxxxxxx"
   set :domain, "domain.com"
   set :mount_path,"/home/xxxxxxxx/xxxxxxx"
   set :application,"app name"
   set :scm, :git
   set :deploy_via, :copy
   set :repository, "git@github.com:xxxxx/xxxxxxx.git"
   default_run_options[:pty] = true
问题1)

当我安装gem'capistrano'gem'capistrano vexxhost'时,我在本地运行我的应用程序时出现了以下错误(它在安装capistrano之前工作)

问题2) 在ruby命令提示符上键入“cap deploy:check”时,我会得到以下错误。

问题3) 当在ruby命令提示符上键入“cap deploy:cold”时,会出现以下错误

我的deploy.rb中是否缺少任何内容,或者是否有我没有做的内容

我需要帮助,我已经解决这个问题很久了。我刚开始部署WEB应用程序,RAILS对我来说非常困难


请帮助解决问题2和问题3 您的第二个和第三个问题是git和tar不在您的路径中的结果。要么根本没有安装,要么路径不完整。请参阅下面我引用的错误

问题2

 'git' could not be found on the local host
 'tar' could not be found on the local host
问题3

 no such file or directory git ls-remote...
问题1

不幸的是,我没有答案。您可能需要将
capistrano
和/或
capistrano vexxhost
添加到
deploy.rb

 no such file or directory git ls-remote...