Open MaximeMichaud opened 6 years ago
Sorry for the delay on this @fightmaxime, I am not always checking Github for issues as I am more involved at https://plaza.quickbox.io.
Is this a Feature Request? What is the actual purpose of this? I have not tested RVM installations on QuickBox, but I think you're trying to point out the issue with the $PATH variable in the ~/.bashrc file?
In your /root/.bashrc file, change this:
export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/quickbox/.bin/:/usr/local/bin/quickbox/:/usr/local/bin/quickbox/package/:/usr/local/bin/quickbox/package/install/:/usr/local/bin/quickbox/package/remove/:/usr/local/bin/quickbox/plugin/:/usr/local/bin/quickbox/plugin/install/:/usr/local/bin/quickbox/plugin/remove/:/usr/local/bin/quickbox/system/:/usr/local/bin/quickbox/system/lang/
To this:
export PATH=$PATH:/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/quickbox/.bin/:/usr/local/bin/quickbox/:/usr/local/bin/quickbox/package/:/usr/local/bin/quickbox/package/install/:/usr/local/bin/quickbox/package/remove/:/usr/local/bin/quickbox/plugin/:/usr/local/bin/quickbox/plugin/install/:/usr/local/bin/quickbox/plugin/remove/:/usr/local/bin/quickbox/system/:/usr/local/bin/quickbox/system/lang/
Note the change at export PATH=
to export PATH=$PATH:
Since this has no adverse affect on the installation of packages, I will push this in an update.
Commits made, however, I will leave this open @fightmaxime in case there is more to this in your op.
Quebec:~# curl -L get.rvm.io | bash -s stable % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 194 100 194 0 0 366 0 --:--:-- --:--:-- --:--:-- 367 100 24090 100 24090 0 0 7443 0 0:00:03 0:00:03 --:--:-- 10959 Downloading https://github.com/rvm/rvm/archive/1.29.3.tar.gz Downloading https://github.com/rvm/rvm/releases/download/1.29.3/1.29.3.tar.gz.asc gpg: Signature made Sun 10 Sep 2017 04:59:21 PM EDT using RSA key ID BF04FF17 gpg: Good signature from "Michal Papis (RVM signing) mpapis@gmail.com" gpg: aka "Michal Papis michal.papis@toptal.com" gpg: aka "[jpeg image of size 5015]" gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 409B 6B17 96C2 7546 2A17 0311 3804 BB82 D39D C0E3 Subkey fingerprint: 62C9 E5F4 DA30 0D94 AC36 166B E206 C29F BF04 FF17 GPG verified '/usr/share/rvm/archives/rvm-1.29.3.tgz'
Upgrading the RVM installation in /usr/share/rvm/ Upgrade of RVM in /usr/share/rvm/ is complete.
Upgrade Notes:
23:export PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/home/quickbox/.bin/:/usr/local/bin/quickbox/:/usr/local/bin/quickbox/package/:/usr/local/bin/quickbox/package/install/:/usr/local/bin/quickbox/package/remove/:/usr/local/bin/quickbox/plugin/:/usr/local/bin/quickbox/plugin/install/:/usr/local/bin/quickbox/plugin/remove/:/usr/local/bin/quickbox/system/:/usr/local/bin/quickbox/system/lang/
WARNING: Your '/root/.bashrc' contains
PATH=
with no$PATH
inside, this can break RVM, for details check https://github.com/rvm/rvm/issues/1351#issuecomment-10939525 to avoid this warning prepend$PATH
.No new notes to display.