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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T13:36:22+00:00 2026-05-27T13:36:22+00:00

I was having issues with RVM so I tried to uninstall everything (Ruby, RVM

  • 0

I was having issues with RVM so I tried to uninstall everything (Ruby, RVM and Rails) and start fresh.

I installed Ruby 1.9.2 and Rails 3.1.2 rc2 and I am working on Ubuntu 10.0.4. If I do ruby -v from the command prompt I am able to see the ruby version installed and same is true for rails -v.

However once I get into the application directory which and try to check rails -v I get this error

“Could not find rake-0.9.2 in any of the sources
Run bundle install to install missing gems.”

If I do bundle install I am getting this error

“bash: /usr/bin/bundle: /usr/bin/ruby1.8: bad interpreter: No such file or directory”

Nothing seems to work and I am stuck in this recursive loop of uninstalling and installing.

Everything was working fine till I got an error linecache19 which requires Ruby >=1.9.2 (I was using 1.8.7 earlier). I installed RVM and Ruby 1.9.2, I had to uninstall RVM and 1.8.7 and I tried to install to install Ruby 1.9.2 as a standalone package. This obviously didn’t work.

Please 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-05-27T13:36:23+00:00Added an answer on May 27, 2026 at 1:36 pm

    If you have uninstalled a previously installed Ruby version (in my case it was Ruby 1.8.7) and try to install latest Ruby version (I was trying to install 1.9.2) without using RVM. I manually deleted all the version of Ruby present by searching $whereis ruby from my command prompt.

    After that I installed a ruby1.9.2. In my existing rails application I was getting lot of errors because the application creates a reference to the earlier installed ruby version (1.8.7) and try to find gems in the earlier installed location.

    SO once you have installed a new version and want to run the earlier developed application search where your application is referencing the older version of ruby.

    In my case I had to change the path in script/rails from #!/usr/bin/env to #!/usr/local/bin/ruby .

    You might also have to add the path of the latest Ruby which you have installed in path variables.

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

Sidebar

Related Questions

Having issues with a rails 2.2.2 app running on a VPS (Ubuntu 8.10): looking
Okay, so I installed rvm and everything as root. Then I installed Ruby Enterprise
Having issues referencing $(this) from within a the nested ajax 'success' function... I know
Having issues calling the ReportingService2005.FindItems() method from within powershell v2. $rs = New-WebServiceProxy -Uri
having issues getting a value from a NSString in my view controller to my
I am having issues with the JSON gem and Ruby 1.9.2. I am upgrading
i'm having issues on my custom delegate, not sure why is not working.i wan
I'm having some serious rails issues. I haven't used it in quite some time
Having issues with screen progress. I have a screen displaying information from a database.
Having issues getting django custom commands to work. From django documetation , have placed

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.