I am usually recommend to people who want to install Ruby to use something like RVM or rbenv (my preference). However, I'm in the process of installing Ruby from source (using rbenv) and it has taken over an hour and still isn't finished. I'm just wondering if there is a faster way to get Ruby 2.0 installed. Maybe there is some apt package that provides this?

  • Did you find an answer for your question yet?
    – myhd
    Commented Feb 16, 2014 at 8:31

1 Answer 1


rbenv install may take a long time (mine is about 2 to 3 hours), you can just let it run in background and returns to check the installation log in /tmp/ folder later.

I followed the instructions on rbenv website. For step 2 and 3, I use:

$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile
$ echo 'eval "$(rbenv init -)"' >> ~/.profile
  • I know this will probably work for installing from source, but I'm wondering how/if this can be pre-compiled for future installations.
    – Andrew
    Commented Jul 16, 2013 at 23:08
  • This answer explains one aspect of how to set up rbenv on the RPi, not how to get a precompiled version of ruby for/within rbenv.
    – myhd
    Commented Feb 16, 2014 at 8:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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