rvm / ubuntu_rvm

Ubuntu package for RVM
https://launchpad.net/~rael-gc/+archive/ubuntu/rvm
Apache License 2.0
694 stars 84 forks source link

rvm not found in Ubuntu 18.04 #63

Closed OmarShawky1 closed 2 years ago

OmarShawky1 commented 2 years ago

Description

rvm is not found even after rebooting and following all instructions

Steps to reproduce

  1. follow all instructions until you call $rvm user gemsets then,
    $rvm
    Command 'rvm' not found, but there are 21 similar ones.

Environment info

$ cat /etc/lsb-release
DISTRIB_ID=elementary
DISTRIB_RELEASE=5.1.7
DISTRIB_CODENAME=hera
DISTRIB_DESCRIPTION="elementary OS 5.1.7 Hera"
raelgc commented 2 years ago

Hi @OmarShawky1 and thanks for raising this. Had you followed the steps to add your user to the rvm group? Additionally, make sure you're not the root user.

OmarShawky1 commented 2 years ago

Yes. Turns out that i needed to source rvm each time.

raelgc commented 2 years ago

I remember that I've faced this one time, while using a deploy service in a remote server. I'll double check here if I can find the details.

raelgc commented 2 years ago

@OmarShawky1 Is your terminal configured to start shell as a login shell? If yes, can you, please, paste the output of your ~/.profile?

raelgc commented 2 years ago

Or you can just append to your .bashrc running this command:

echo 'source "/etc/profile.d/rvm.sh"' >> ~/.bashrc
OmarShawky1 commented 2 years ago

Or you can just append to your .bashrc running this command:

echo 'source "/etc/profile.d/rvm.sh"' >> ~/.bashrc

That is what i actually did :), it worked.