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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:59:51+00:00 2026-06-12T14:59:51+00:00

I have rails and RVM installed on OSx 10.7.4 If I do this $

  • 0

I have rails and RVM installed on OSx 10.7.4

If I do this

$ cd ~/
$ rails -v 

I get

$ Rails 3.2.3

Now if I go into a rails application with

$ cd ~/rails-project/
Using ~/.rvm/gems/ruby-1.9.2-p320 with gemset ourgemset

The .vmrc file in the rails app looks like this

rvm use --create 1.9.2@ourgemset

However when I try and use rails now I get

$ rails -v
Rails is not currently installed on this system. To get the latest version, simply type:

sudo gem install rails

You can then rerun your "rails" command.

My ~/.bash_profile has this line at the end of it (and these scripts exist)

[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" # Load RVM function

I’ve no idea why this is happening or where to look to solve it.

EDIT:

On further investigation if I do the following

$ rvm use default
Using ~/.rvm/gems/ruby-1.9.3-p194 with gemset anothergemset

Now rails works fine. If I switch back to

$rvm use ruby-1.9.2-p320

I can’t use rails anymore. Help!

  • 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-12T14:59:52+00:00Added an answer on June 12, 2026 at 2:59 pm

    Your global env has Rails but your gemset does not contain the rails gem. So when you are in cd ~/rails-project/ run the command:

    gem install rails
    

    it will install the gem to your rvm gemset.

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

Sidebar

Related Questions

I currently have Ruby on Rails installed via RVM in Ubuntu 12.04. The default
I'm trying to install Ruby on Rails using RVM. I am following this guide
I am using Ubuntu 12.04. I also have ruby and rails installed on my
I am using RVM and have installed rails 3.1.0 multiple times but once I
I have Ruby and Rails installed with RVM in a Mac OS X Lion
I have been working on Ruby on rails project for a while now, when
I am new to Rails and Linux and have installed RVM with sudo. sudo
I just started using CakePHP for a small project. I have rails experience, and
I have installed RVM in my ubunut linux box and configured the Rails 3
I'm unable to have rails recognize the mysql2 gem that I've installed. I'm using

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.