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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T13:42:47+00:00 2026-06-05T13:42:47+00:00

When I enter my rails dir on server RVM switch to /home/capistrano/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle although it

  • 0

When I enter my rails dir on server RVM switch to

/home/capistrano/.rvm/gems/ruby-1.9.2-p290@global/bin/bundle

although it should use ruby-1.9.2-p290@mygemset/bin/bundle as it works on my local machine. When I type rvm use 1.9.2@mygemset it works. Nginx server is also looking for gems in the @global gemset

my .rvmrc file:

environment_id="ruby-1.9.2-p290@mygemset"

if [[ -d "${rvm_path:-$HOME/.rvm}/environments" \
  && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
then
  \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"

  if [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]]
  then
    . "${rvm_path:-$HOME/.rvm}/hooks/after_use"
  fi
else
  # If the environment file has not yet been created, use the RVM CLI to select.
  if ! rvm --create use  "$environment_id"
  then
    echo "Failed to create RVM environment '${environment_id}'."
    return 1
  fi
fi
  • 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-05T13:42:48+00:00Added an answer on June 5, 2026 at 1:42 pm

    RVM is going through rapid develpment so the syntax and functionality of commands sometimes vary. Anyway, I solved it with upgrading to stable RVM:

    rvm get stable
    

    which is now rvm 1.14.1 (stable). Afterwards commands like rvm 1.9.3-p194@mygemset --create
    works perfectly.

    Another thing I was missing is the new syntax for executing commands:

    rvm @mygemset do bundle install
    

    This will install all gems for given gemset and ruby specified in .rvmrc file

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

Sidebar

Related Questions

enter code hereI'm trying to finish up Michael Hartl's Ruby on Rails v3.2 Tutorial
I have a Rails 3 application on Ruby 1.9.2 in which users enter business
My git console: Home@PC /c/rails/konkurranceportalen (master) $ git push heroku master Enter passphrase for
I'm having problems starting my Rails web server. I try to enter rails server
I have a Rails 3 app that lets users enter comments. I want any
I have a little piece of rails code which lets users enter a review.
enter code here I have a table on SQL server 2005 with bigint primary
we built a facebook application with ruby/rails and facebooker (iframe application) and are currently
In my rails project I have a form to enter a dollar amount. This
How does one enter multiple lines of code into the rails console? --edit with

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.