New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RVM does not use default ruby version on a new terminal session #4833
Comments
Hi, I face exactly the same issue. Did you find a solution to it? |
I wasted a lot of time trying different things but couldn't find anything. I just implemented by own workaround by automatically running following command everytime I start my bash. |
I did the same but I hoped for a clear solution...Thanks!
…On Mon, Jan 13, 2020 at 6:43 PM Aurangzaib Danial Liaqat Khan < ***@***.***> wrote:
Hi, I face exactly the same issue. Did you find a solution to it?
Thanks.
I wasted a lot of time trying different things but couldn't find anything.
I just implemented by own workaround by automatically running following
command everytime I start my bash.
rvm use default &> /dev/null
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4833?email_source=notifications&email_token=AIZHLR4X2FIOADSTJWG2IJDQ5SK2FA5CNFSM4J6KNWBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIZNMAI#issuecomment-573756929>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIZHLR6KHWGY2Q4AJXNJS6TQ5SK2FANCNFSM4J6KNWBA>
.
|
same issue!!! |
Same issue, when you open a new terminal default version isn't guaranteed to be the version that is used. |
Hello, can someone test if restarting the system updates the default version loaded? After I set a new default using rvm --default use 2.7.2 and restart my system, it seems that it is using the correct version when I open new terminals. |
Hi, Is there seriously no solution for this problem (except for a workaround). |
Hi, |
I have exact same issue. I set the default version to ruby-2.7.4 and the next time and run terminal it is switched back to ruby-2.6.4 |
I'm also having this issue with RVM v1.29.12. As suggested by @aurangzaib-danial, adding |
I had the same problem, this solved it: In my case, the command |
|
Description
I'm using Ubuntu 18.04.3 LTS. I have two installed ruby versions 2.6.3 and 2.2.6. I have set 2.2.6 to be used by default using 'rvm use 2.2.6 --default' but whenever I load a new terminal session, rvm starts using 2.6.3. Running 'rvm list' shows that 2.2.6 is the default ruby but its not being used. I have tried searching everywhere, tried all the fixes suggested but still no luck. I have to explicitly use 2.2.6 whenever I want it. I have also enabled 'Run command as a login shell'. Please help!
Steps to reproduce
Expected
running rvm use 2.2.6 --default, should automatically use 2.2.6 in new terminal sessions.
Actual Behaviour
rvm use 2.2.6 --default, does set default version but its not being used on new terminal sessions.
The text was updated successfully, but these errors were encountered: