1

I have my ruby-2.3.1 installed in /opt/rubies/ruby-2.3.1/bin/ruby, but by some problems with dependencies KDE downloads ruby-2.1 to /usr/bin/ruby and now my system uses that version.

I've install RVM in the hope I could use that to change the path from /usr/bin/ruby to /opt/rubies/ruby-2.3.1/bin/ruby so I'm using that version again.

But I can't see if that's possible. Anyone got some tips?

0

The safest thing to do is to remove the manually installed ruby in /opt/rubies/ruby-2.3.1/bin/ruby and install ruby 2.3.1 with

rvm install 2.3.1

but you can also add the existing ruby 2.3.1 with

rvm mount /opt/rubies/ruby-2.3.1/bin/ruby

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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