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 have a bit of code that looks like this: text = reg.Replace(text, new
The problem is simple, but I'm struggling a bit already. Server server = new
Still a bit new to Linq. This is driving me nuts. I want to
I'm a bit new to rails so if this is very basic please bear
A bit new to this whole web development thing still. This question will be
I'm a bit new to vb.net and used to working in perl, this is
Am a bit new to javascript. This question might sound a bit too silly,
I'm a bit new to python and can't figure out why this is not
i'm a bit new to JQuery and ajax, so i apologize if this is
I'm a bit new to make, so this is probably something really very simple,

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.