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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:38:50+00:00 2026-05-30T08:38:50+00:00

I have RVM installed, with project rvmrc files enabled. In my bashrc I have:

  • 0

I have RVM installed, with project rvmrc files enabled.

In my bashrc I have:

rvm use 1.9.2

However, in one of my project rvmrc files I have:

rvm use 1.8.7

Which works great, however if I open up a new terminal window within the project I get:

Using /home/.../.rvm/gems/ruby-1.8.7-p352
Using /home/.../.rvm/gems/ruby-1.9.2-p290

Obviously, I want to 1.8.7, but the bashrc gets run after the project rvmrc. Meaning I’m using the wrong rvm so either have to cd out and back into the directory or run rvm use 1.8.7 again.

Is there anyway to force the rvmrc file to run after the bashrc?

I know about rvm default, but not sure if I want to\can use this.

  • 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-30T08:38:52+00:00Added an answer on May 30, 2026 at 8:38 am

    please read this: https://rvm.beginrescueend.com/support/faq/#shell_login it describes which files should be used in which use cases.

    as for rvm --default 1.9.2 it should be used over manually entering version into your rc file as it is loading ruby only if one was not yet selected.

    Simplest solution for your rc files problem (I guess you have one) would be rvm get head --auto which will reorganize sourcing rvm in your rc files – to make it fully functional you need to restart your graphical session (or just reboot computer).

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

Sidebar

Related Questions

I have set up a .rvmrc file for my project, which simply looks like
I have installed rvm after installing Mac OS Lion. The problem which I am
I'm running Mac OSX 10.6.4 and have installed RVM. Its been great so far,
I am new to Rails and Linux and have installed RVM with sudo. sudo
I have been using rvm and when I installed ruby 1.9.2, it installed ruby-1.9.2-p290
I have to type rvm use ruby-1.9.3 every time I login to my server.
I have rvm installed on a Mac OS X 10.6 system with the system
When I run the project form rails server, it works fine, when I open
I have the following project structure which I can't get to work: Mac OS
I'm running Ubuntu 11.10 and have installed rvm using the standard instructions listed here

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.