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

  • SEARCH
  • Home
  • 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 5958815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:35:48+00:00 2026-05-22T18:35:48+00:00

A bit new to the capistrano deploys so I’m struggling with getting this to

  • 0

A bit new to the capistrano deploys so I’m struggling with getting this to work correctly. I found another entry saying this is a symlink issue but I don’t think it is since “cap dev deploy” creates the current symlink correctly. I have a stage and a dev environment on this server (/apps/myhost/dev and /apps/myhost/stage) and I’m looking to push my most recent git changes from git to the dev environment. I SSH in as the application user and do:

cap dev deploy

I receive the following error:

failed: "rvm_path=/usr/local/rvm /usr/local/bin/rvm-shell 'ree@myhost' -c 'bundle install --gemfile /apps/myhost/dev/releases/20110526014237/Gemfile --path /apps/myhost/dev/shared/bundle --deployment --quiet --without development test'" on dev.myhost.com

Which is preceded by a lot of:

rm: cannot remove directory `/apps/myhost/dev/releases/20110526014237/test/functional': No such file or directory

I assume the rm error is because the directory and files have already been cleaned up but I’m uncertain why the rvm_path rvm-shell fails?

  • 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-05-22T18:35:49+00:00Added an answer on May 22, 2026 at 6:35 pm

    Checked my /apps/myapp/dev/config/deploy/ directory and found these files:

    dev.rb
    stage.rb
    prod.rb
    

    Had role and server variables set so it was trying to deploy twice causing the lock. Removed the server line and was able to deploy.

    Regarding the trust; added this line to config/deploy.rb:

    task :trust_rvmrc do
        run "rvm rvmrc trust #{latest_release}"
    end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a bit new to Rails/RSpec/Capybara, so this is probably a newbie question, but
I'm a bit new to CSS/html. I am trying to include this jquery plugin
I'm a little bit new to Actionscript, but I can't figure this one out.
I'm a bit new to make, so this is probably something really very simple,
I am a bit new to Javascript. I am writing this dummy script to
I'm a bit new to rails/RhoMobile so I can't work out how to add
I'm a bit new to ant, but couldn't find an answer to this at
I'm bit new to Qt framework, so am struggling bit in one of the
I'm a bit new to python and can't figure out why this is not
I'm a bit new to Maven. I thought I was getting a pretty good

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.