Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been trying to set up Ruby on Rails for Ubuntu 11.10 following these instructions, but I can't get it to work.

I'll follow the install guide all the way up to "rvm install ruby-1.9.2", and at that point terminal will configure ruby-1.9.2, compile it, and as it starts installing it my computer will shut down. Not freeze up or become unresponsive, but totally shut down.

What might be causing this error, and how might I fix it? Thanks!

share|improve this question
Does it shutdown gracefully (go through all the usual shutdown sequence) or just turn right off abruptly? If the former, that's very weird, if the latter I'd suspect hardware. – Caesium Feb 22 '12 at 4:06
up vote 1 down vote accepted

I don't think compiling would directly be causing a reboot but it may be a side effect of your system having to do a lot of work. The CPU could be overheating. I'd keep an eye on the temperatures especially if you're overclocking.

share|improve this answer
Thanks, yeah that seemed to be the problem. A new computer is in order... – Phaedrus Raznikov Jun 29 '12 at 18:02

I had the same problem. After reviewing

rvm requirements

I found a suggestion that I needed to install ruby 1.8.7 before I tried to install a 1.9 ruby, so I tried that, and it worked perfectly. Make sure you've got all the other requirements installed too.

share|improve this answer

Can you paste your output when you run

    RVM Requirements

Also please check out the documentation at

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.