M
M
Maxim Tatarnikov2018-12-22 14:31:54
ruby
Maxim Tatarnikov, 2018-12-22 14:31:54

How to change Ruby version?

The virtual machine is running Debian 8. Ruby was running 2.3.3. Installed 2.5.1. I type ruby ​​-v, it says that 2.3.3 is installed. You need to throw the project on Heroku, and there it is not supported below 2.5.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
AVKor, 2018-12-22
@AVKor

Use RVM , Luke. (c)

A
Alexey Hukendo, 2018-12-23
@hukendo

rvm use 2.5.1
https://rvm.io/rvm/basics
and in general there are chruby or direnv. I didn’t see publications in Russian about direnv at all, although the thing is very convenient.

S
Stanislav Fesenko, 2019-01-12
@iamdeuterium

Use RBENV . =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question