Can this be used with update-alternatives? #455
lacostenycoder
started this conversation in
General
Replies: 1 comment 1 reply
-
Try running |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use Ruby 2.7.7 on a server which is still running Ubuntu 16.04. I'm able to use
ruby-install
to install that version, however I can't seem to configureupdate-alternatives
to work in order to have the Ruby version configured system wide. I tried withchruby
but that didn't seem to work. Running anyrake
commands gave error on which version should have been running, it keeps falling back to2.6.6
.I had tried some things that left things in this state. It was probably trying to force this to work with
The errors described above remained so I did
This is current state of things, but config has been set back to 2.6.6 to not break things for now.
I guess I don't have a clear enough understanding of
update-alternatives
but wondered if anyone here has used it successfully withruby-install
. Usingapt install ruby2.7
will only install2.7.1
Beta Was this translation helpful? Give feedback.
All reactions