ruby - Capistrano: No such file or directory -


i'm new capistrano , having tough time getting setup. i'm using windows local machine, linux server , bitbucket git repo. when run cap deploy following error:

c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/railsless-deploy-1.1.2/lib/railsless-deploy.rb:98:in ``': no such file or directory - git ls-remote git@bitbucket.org:je3415/captest.git head  (errno::enoent) 

when ssh server i'm able run git ls-remote git@bitbucket.org:je3415/captest.git head without problem. tried creating public key , without passphrase. made no difference well.

any suggestions appreciated. thanks.

edit: here contents of capfile:

require 'railsless-deploy' load 'config/deploy' 

and beginning of deploy.rb file looks this:

set :stages, %w(production staging) set :default_stage, "staging" require 'capistrano/ext/multistage'  set :application, "captest" # todo set :repository, "git@bitbucket.org:je3415/captest.git" # todo set :scm, :git set :use_sudo, false  ssh_options[:forward_agent] = true default_run_options[:pty] = true set :deploy_via, :remote_cache set :copy_exclude, [".git", ".ds_store", ".gitignore", ".gitmodules"] set :git_enable_submodules, 1 set :wp_multisite, 0 # todo set 1 if multisite 

i able solve adding location of git binaries windows path environment variable. @maksim posting solution @ https://stackoverflow.com/a/8978686/868082.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -