Skip to content
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 not loading unless I run "rvm reload" #5454

Open
Wardrop opened this issue Apr 22, 2024 · 0 comments
Open

RVM not loading unless I run "rvm reload" #5454

Wardrop opened this issue Apr 22, 2024 · 0 comments

Comments

@Wardrop
Copy link

Wardrop commented Apr 22, 2024

Description

Installing RVM on a clean OpenSUSE LEAD 15.5 install running under WSL2 (Windows), RVM doesn't load correctly. I need to either manually run rvm reload, or add rvm reload to the end of my .bachrc file. After that, everything is happy.

Note, RVM is installed and running under "root" which I suspect has something to do with it. As I'm running OpenSUSE under WSL2 on Windows, it defaults to running as root which is perfectly fine for how I use WSL which is solely for running Ruby web applications during development.

Steps to reproduce

Open a new terminal, and either check "ruby -v" to confirm the system Ruby is being invoked, or run something like "rvm use ..." which will return something like "Required ruby-3.3.0 is not installed.". Checking ther PATH variable also shows no signs of RVM. After running "rvm reload" everything corrects itself.

Expected behavior

RVM should be working properly after launching terminal without having to run RVM reload.

Actual behavior

RVM behaving like it hasn't loaded properly. PATH variables not set like I'd expect.

Environment info

OpenSUSE 15.5 running under WSL2 on Windows 11 installed the Microsoft App Store. Everything running as "root" in OpenSUSE. No other users on the system. RVM installed and updated using rvm get head.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant