4

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?

Andrew
  • 432
  • 2
  • 4
  • 11

1 Answers1

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
ohho
  • 299
  • 2
  • 4
  • 12