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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T22:27:20+00:00 2026-05-14T22:27:20+00:00

Ok, so I decided I’d be cool and try to use Rails3 that’s in

  • 0

Ok, so I decided I’d be cool and try to use Rails3 that’s in beta. Then, things were getting hard to manage so I got rvm. I installed ruby 1.9.2-head in rvm and things were working, and then a computer restart later rails wouldn’t start up. So I figured I’d just try running the system ruby and start rails in it. same error. Then, I uninstalled rails3 and got rails: no such file or directory type errors..

So now I’m royally screwed because rails2 is still installed but will not uninstall because of invisible dependencies, along with a lot of other random gems. How do I completely clear out all ruby gems and such so I can start anew?

  • 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-14T22:27:21+00:00Added an answer on May 14, 2026 at 10:27 pm

    I’ve recently had to so just this. I had built up alot of cruft with my system installed ruby and gems and wanted to clean all that out and move everything over to run under rvm for various projects.

    1. Clean up old and busted

    First thing I did, before messing with rvm (or run rvm system to get back to the system ruby), was to remove all my gems:

    gem list | cut -d" " -f1 | xargs gem uninstall -aIx
    

    WARNING: this will uninstall all ruby gems. If you installed as root you may want to switch to root and run this.

    2. Install new hotness

    Now you can run gem list to see what is left.

    Time to install rvm, I recomend blowing away your current install and reinstall fresh:

    rm -rf $HOME/.rvm
    bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head )
    

    Now the real trick is to use gemsets to install rails 3, and this is easy if you follow Waynee Seguin’s gist:

    rvm update --head
    rvm install 1.8.7
    rvm --create use 1.8.7@rails3
    curl -L http://rvm.beginrescueend.com/gemsets/rails3b3.gems -o rails3b3.gems 
    rvm gemset import rails3b3.gems
    

    One difference is I use 1.8.7 since I have had issues with 1.9.2-head and RSpec, but 1.8.7 has been smooth.

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

Sidebar

Related Questions

I decided to give PHP a try, and then bought lynda.com's essential training tutorial.
I decided to try and use mod_rewrite to hide the location of a file
I decided to use jquery-ui Autocomplete Combobox, but until now I didn't noticed that
I decided to start using removeAllObjects so that I could re-use some of my
Decided to use Apache's Common Configuration package to parse an XML File. I decided
I decided to try to my hand at this, and have had a somewhat
I decided to learn how to use github about a month ago, and I
I decided not to use an orm and going to use straight ADO.NET for
I decided to create a currency converter in Java, and have it so that
I decided that the easiest way to rename the directory is through the REN

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.