Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm having difficult installing Ruby on my computer. I initially wanted to install the ruby-2.0.0-p247 but RVM could not find the package.

When running the following command:

 rvm install ruby-1.8.7-p334

I get the following response in the terminal:

Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.8.7-p334, this may 
take a while depending on your cpu(s)...

ruby-1.8.7-p334 - #fetching 
ruby-1.8.7-p334 - #extracted to /usr/share/ruby-rvm/src/ruby-1.8.7-p334 (already extracted)
ruby-1.8.7-p334 - #configuring 
ruby-1.8.7-p334 - #compiling 
ERROR: Error running 'make ', please read /usr/share/ruby-rvm/log/ruby-1.8.7-p334/make.log
ERROR: There has been an error while running make. Halting the installation.

Okay, so I retrieved the make.log file. It's about 387 lines of compilation errors, however. I'll post it if it's necessary.

Is there something wrong with my RVM installation? I used the following command to install it:

sudo apt-get install ruby-rvm
share|improve this question
It turns out my installation of RVM was faulty. After attempting to install ruby-1.9.2 via the RVM command, RVM told me that my installation was likely broken and redirected me to this page. So, I followed the instructions precisely and found my answer. Sorry for the duplicate question. I don't have enough rep to answer my own question, but I have resolved the issue. –  baph0mt Sep 21 '13 at 4:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.