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 8877541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T19:29:32+00:00 2026-06-14T19:29:32+00:00

I installed ruby-1.9.3-p286 on my server with RVM, and confirmed it with ruby -v

  • 0

I installed ruby-1.9.3-p286 on my server with RVM, and confirmed it with ruby -v in the terminal.

However, following the instructions from RVM-Capistrano gem integration,

set :rvm_ruby_string,  ENV['GEM_HOME'].gsub(/.*\//,"")
require 'rvm/capistrano'

and running cap deploy, it still insists on running ruby-1.9.3-p0, and of course it can’t find it.

Manually opening up irb in Terminal and running ENV['GEM_HOME'].gsub(/.*\//,"") returns ruby-1.9.3-p286, so I am puzzled why it keeps asking for ruby-1.9.3-p0.

Anyone encountered a similar situation?

  • 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-14T19:29:33+00:00Added an answer on June 14, 2026 at 7:29 pm

    I was just struggling with a similar problem, googled for a solution, and found your question. Anyway, in my case, I had specified the Ruby version to be 1.9.3-p327 everywhere: in my .bashrc file (rvm --default use 1.9.3-p327), in the application’s .rvmrc file (rvm use 1.9.3-p327@my_app_name), etc., and I still got this output when commanding cap deploy or cap deploy:setup:

    *** [err :: localhost] ruby-1.9.3-p286 is not installed.
     ** [out :: localhost] To install do: 'rvm install ruby-1.9.3-p286'
    *** [err :: localhost] Error: RVM was unable to use '1.9.3@my_app_name'
    

    Turns out the problem was in Capistrano’s configuration file, my_app_name/config/deploy.rb. It defined the Ruby version like this:

    set :rvm_ruby_string,           "1.9.3@#{application}"
    

    Why Capistrano turned this into 1.9.3-p286 is still a mystery to me. Anyway, I added the Ruby patchlevel to the line, like this:

    set :rvm_ruby_string,           "1.9.3-p327@#{application}"
    

    And then cap deploy:setup and cap deploy started working.

    Furthermore, I found out that Capistrano has added the possibility of using the Ruby version given in the application’s .rvmrc file (see this), so you can just set that line to

    set :rvm_ruby_string,           :local
    

    and never have to touch it again, even if you change the Ruby version in .rvmrc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I previously had ruby 1.9.3-p286 installed with rvm (set as --default ). I had
I installed ruby 1.9.3 thru RVM, and now want to get the rekyll gem
I installed ruby 1.9.3 on ubuntu 10.04 server. There is problem with capistrano to
I installed ruby 1.9.2 via RVM as well as the webby and capistrano gems.
I have setup Rails 3.0.3 and installed Ruby 1.9.2 with rvm and set rvm
I have already installed Ruby 1.9.3,gem 1.8.24, using RVM in ubantu 12.04. But when
I just installed Ruby on Rails on my server and keep getting the following
I've installed ruby and the sass gem on a Win 7 Enterprise box. I've
I have been using rvm and when I installed ruby 1.9.2, it installed ruby-1.9.2-p290
I've used whenever gem with ruby 1.9.2 without any problems, but I installed ruby

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.