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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:00:52+00:00 2026-05-26T23:00:52+00:00

I have installed rvm after installing Mac OS Lion. The problem which I am

  • 0

I have installed rvm after installing Mac OS Lion. The problem which I am facing is whenever I try to run a new Rails application, it gives me following error.

The problem gets resolved once choose a particular rvm. $ rvm gemset use global

I know about using .rvmrc file per project. But I don’t want to keep on using this command every time I create a demo project. Why doesn’t rvm uses the “global” gemset automatically every time I create new project?

I used this documentation to install rvm.

JP:demo3 jayparteek$ rails s
/Users/jayparteek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands/server.rb:3:in `require': no such file to load -- action_dispatch (LoadError)
    from /Users/jayparteek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands/server.rb:3:in `<top (required)>'
    from /Users/jayparteek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands.rb:48:in `require'
    from /Users/jayparteek/.rvm/gems/ruby-1.9.2-p290/gems/railties-3.1.1/lib/rails/commands.rb:48:in `<top (required)>'
    from script/rails:6:in `require'
    from script/rails:6:in `<main>'
  • 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-26T23:00:53+00:00Added an answer on May 26, 2026 at 11:00 pm

    You can specify a “default” gemset for a given ruby interpreter, by doing:

    rvm use ruby-1.9.2-p0@gemsetname --default
    

    See: http://beginrescueend.com/gemsets/using/ and http://beginrescueend.com/gemsets/basics/

    it’s probably a better idea to use a specific gemset for each of your projects, together with it’s specific Gemfile. Problems could happen if you require ‘>= x.y.z’ in your Gemfiles, and you do a bundle update in one project, but not in the other…

    cd ProjectA
    rvm gemset create projecta
    rvm gemset use projecta
    
    cd ProjectB
    rvm gemset create projectb
    rvm gemset use projectb
    

    This way, although you update the gems in ProjectA via bundle update to the latest and greatest, they still don’t get modified for ProjectB — eliminating the possibility for interference between projects.


    you can also add a .rvmrc file to a directory, e.g. your project directory. RVM will then use the ruby-version and gem set listed in the .rvmrc file as the default for all sub-directories.

    e.g. assuming that you have ruby 1.9.3 installed, and a gem set “rails_3.2” for that ruby version:

    # cat .rvmrc
    rvm use ruby-1.9.3-p0@rails_3.2
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have installed CherryPy 3.1.0,. Here is what happens when I try to run
so now (finally after 4 hours) i have installed ruby 1.9.1, rvm and passenger.
I have installed RVM in my ubunut linux box and configured the Rails 3
I have rvm installed on a Mac OS X 10.6 system with the system
I'm a newbie following the RailsTutorial.org program and have installed/setup rvm, ruby 1.9.2,rails, curl,
I'm running Mac OSX 10.6.4 and have installed RVM. Its been great so far,
It's pretty weird, but i got my PATH corrupted after installing rvm on Mac
After installing rvm, updating .gmrc file, updating rubygems and running gem install rails -v
I have installed RubyMine on Mac but my development environment for Ruby and Rails
I have installed the new asp:chart control on my machine and have built an

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.