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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T17:47:54+00:00 2026-05-19T17:47:54+00:00

I am having a hard time trying to reinstall Ruby (1.9.2-p136) on my ubuntu

  • 0

I am having a hard time trying to reinstall Ruby (1.9.2-p136) on my ubuntu machine, using RVM.

Basically I just do:

rvm install 1.9.2-p136

And during the Compiling step, it fails with the following error message:

(NoMethodError) undefined method
`set_encoding’ for RDoc::Parser:Class

I tried to look for this on Stackoverflow and Google but it didn’t help!

Any idea?

Thanks!

EDIT:
To be clear, I am not using Ubuntu but Linux Mint 9 which is based on Ubuntu 10.04.

  • 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-19T17:47:54+00:00Added an answer on May 19, 2026 at 5:47 pm

    Well, oddly enough, RDoc was rev’d last week to a new version. So, I suspect you’re running into a snag with it, maybe Ruby 1.9.2-p136, and maybe RVM.

    I’d recommend contacting the author of RVM; You can email him at the address that appears when you do rvm -v. Include the output of rvm info.

    I’ll do an install to a VM on my machine here and see how it goes. I have the same Ruby version, but it’s been in place since it came out, so when RDoc updated there was an existing Ruby. I have the most recent Mint, which I assume is 9, based on Ubuntu 10 I think it said.


    EDIT:

    I just built a Mint 10 VM, then installed rvm, then installed 1.8.7-p330 and 1.9.2-p136. Neither had any problems.

    One thing I didn’t do, that Wayne Seguin told me is important, is to rvm notes after installing it, before installing Ruby. That will display any OS-specific things needed. For instance, on Mint 10 it says:

    dependencies:

    For RVM

    rvm: bash curl git

    For Ruby (MRI & ree) you should install the following OS dependencies:

    ruby: /usr/bin/aptitude install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev


    EDIT:

    An additional thing you might run into is a zlib warning when installing gems, which is handled on the RVM site in Zlib

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

Sidebar

Related Questions

I'm having a hard time trying to make a Java program with just a
I'm having a hard time trying to tar some files using the compress library.
I am having hard time trying to generate PDF files containing Greek letters using
I'm having a hard time trying to indent XML files using XMLSerializer . I've
I'm having a hard time trying to track down an error. I'm using a
I'm having hard time trying to figure out how to auto-save user data in
I'm having hard time trying to force https (ssl) to particular page on codeiginiter
I'm having a hard time trying to get hasMany to work in Grails 2.0.1
I'm having a hard time trying to create a XmlRepository. The problem here I
For some reason, I'm having a hard time trying to cover the block of

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.