Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8282157
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T10:16:31+00:00 2026-06-08T10:16:31+00:00

Im having some problems getting capistrano to deploy. As far as i can tell

  • 0

Im having some problems getting capistrano to deploy.

As far as i can tell the fail happens with the git ls-remote command, but when i run it on the server manually it returns successfully.

Any help would be greatly appreciated!


SOLVED

After installing mountain lion my git cli wasn’t working.


cap deploy
    triggering load callbacks
  * 15:55:49 == Currently executing `staging'
    triggering start callbacks for `deploy'
  * 15:55:49 == Currently executing `multistage:ensure'
  * 15:55:49 == Currently executing `deploy'
  * 15:55:49 == Currently executing `deploy:update'
 ** transaction: start
  * 15:55:49 == Currently executing `deploy:update_code'
    updating the cached checkout on all servers
    executing locally: "git ls-remote git@github.com:taheilo/taheilo.com.git master"
*** [deploy:update_code] rolling back
  * executing "rm -rf /home/frankie/sites/taheilo.com/stage/releases/20120726135550; true"
    servers: ["198.101.205.147"]
    [198.101.205.147] executing command
    command finished in 2039ms
/Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:107:in ``': No such file or directory - git ls-remote git@github.com:taheilo/taheilo.com.git master (Errno::ENOENT)
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:107:in `block in run_locally'
  from /Users/frankie/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:106:in `run_locally'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:44:in `block (3 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:96:in `with_env'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:44:in `block (2 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/scm/git.rb:227:in `query_revision'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/scm/base.rb:35:in `block in method_missing'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/scm/base.rb:63:in `local'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/scm/base.rb:35:in `method_missing'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:44:in `block in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:87:in `call'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:87:in `block in fetch'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:110:in `block in protect'
  from <internal:prelude>:10:in `synchronize'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:110:in `protect'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:78:in `fetch'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/variables.rb:95:in `[]'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/strategy/base.rb:82:in `revision'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:35:in `update_repository_cache'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy/strategy/remote_cache.rb:15:in `deploy!'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:222:in `block (2 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:193:in `method_missing'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:203:in `block (3 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:56:in `transaction'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:193:in `method_missing'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:202:in `block (2 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:193:in `method_missing'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/namespaces.rb:110:in `block in define_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/recipes/deploy.rb:170:in `block (2 levels) in load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `instance_eval'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:139:in `invoke_task_directly'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/callbacks.rb:25:in `invoke_task_directly_with_callbacks'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:89:in `execute_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/configuration/execution.rb:101:in `find_and_execute_task'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:46:in `block in execute_requested_actions'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:45:in `each'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:45:in `execute_requested_actions'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/help.rb:19:in `execute_requested_actions_with_help'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:34:in `execute!'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:14:in `execute'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/gems/capistrano-2.12.0/bin/cap:4:in `<top (required)>'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/bin/cap:19:in `load'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/bin/cap:19:in `<main>'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `eval'
  from /Users/frankie/.rvm/gems/ruby-1.9.3-p194/bin/ruby_noexec_wrapper:14:in `<main>'
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T10:16:33+00:00Added an answer on June 8, 2026 at 10:16 am

    you should try to execute it locally as capistrano says:

    executing locally: "git ls-remote git@github.com:taheilo/taheilo.com.git master"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to deploy my rails application with capistrano, but I'm having some trouble
I'm having some problems getting my object to gracefully fail out if an invalid
Im having some problems getting the Sticky Footer to work on my site. If
I'm having some problems getting ncurses' getch() to block. Default operation seems to be
I am having some problems getting my JS/JQ to fire in HTML5 page. Basically
I am having some problems getting a larger application with many table relationships working
I'm having some problems with getting the .getruntime.exec() to work properly. Here is the
Currently i am having some problems with getting some data out of a DataTable
I am having some problems getting this animation to execute. I have a feeling
I am having some problems getting some French text to convert to UTF8 so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.