Innocent Akhidenor
Innocent Akhidenor

Reputation: 135

Capistrano "no such file or directory - git ls-remote [email protected]"

I built a rails app and i am currently in the process of deploying it from my windows system to vexxhost (a hosting company). I have a repository on github and i have followed all the procedures of deploying my rails app. Everything was going fine until i typed "cap deploy:cold",after which the following error was Displayed.

enter image description here

My deploy.rb file

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


  # Account Settings

  ssh_options[:forward_agent] = true

  set :user, "innocent"
  set :password, "2Q0bNx85it"
  set :domain, "legoads.com"
  set :mount_path,"/home/innocent/public_html"
  set :application,"legoads"
  set :scm, :git
  set :repository, "[email protected]:innoc/Legoads.git"
  default_run_options[:pty] = true

Upvotes: 1

Views: 705

Answers (1)

aromero
aromero

Reputation: 25761

From the error it appears that git isn't installed in the remote server. Install git and try again, or better, make a capistrano recipe to setup your server, which will among other tasks install git.

Upvotes: 1

Related Questions