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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T05:01:10+00:00 2026-06-17T05:01:10+00:00

For what possible reason would rvm switch gemsets when I cd into my rails

  • 0

For what possible reason would rvm switch gemsets when I cd into my rails project directory?

I don’t have an .rvmrc file. I set a default gemset (which “sticks” for other directories). Here’s what I mean:

[20130109_234306] will@localhost:~
$ rvm gemset list

gemsets for ruby-1.9.3-p362 (found in /Users/will/.rvm/gems/ruby-1.9.3-p362)
   (default)
   global
=> ruby-1.9.3

[20130109_234313] will@localhost:~
$ cd Projects/rails_project

[20130109_234320] will@localhost:~/Projects/rails_project
$ rvm gemset list

gemsets for ruby-1.9.3-p362 (found in /Users/will/.rvm/gems/ruby-1.9.3-p362)
=> (default)
   global
   ruby-1.9.3
  • 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-17T05:01:12+00:00Added an answer on June 17, 2026 at 5:01 am

    The Gemfile in the rails project directory will tell RVM to switch rubies if the Gemfile specifies a ruby version (something like ruby=”1.9.3″ or #ruby=1.9.3@gemset).

    This is because RVM supports more then just .rvmrc => https://rvm.io/workflow/projects/#ruby-versions a full list can be found here: https://github.com/wayneeseguin/rvm/blob/master/scripts/functions/rvmrc#L743-L744

    Note that RVM will check the following files before the Gemfile: .rvmrc .versions.conf .ruby-version .rbfu-version .rbenv-version. So creating a .rvmrc file with the line “rvm use ruby-1.9.3-p362@ruby-1.9.3” would make RVM ignore the Gemfile.

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

Sidebar

Related Questions

would it be possible to pass the contents of var reason to action=report? function
Possible Duplicate: Any reason why Mage::registry(‘current_category’) would return NULL? Reference - What does this
Possible Duplicates: Why would a sql query have “where 1 = 1” Why would
Possible Duplicate: Is there any reason to use the 'auto' keyword in C /
Is it possible to get shutdown reason in Windows Server 2008 immediately after user
For some reason, it is much easier for me if it is possible to
Is it possible to convert and Object[]array to and integer Array. The reason I
A possible reason because a NullPointerException is a runtime exception is because every method
I'm creating a console application where I would like to have two outputs and
Possible Duplicate: Resharper: vars Is there a reason that resharper suggests var thing1 =

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.