QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
737 stars 171 forks source link

Rvm installation #108

Open MaximeMichaud opened 6 years ago

MaximeMichaud commented 6 years ago

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/

JMSDOnline commented 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.

Question:

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?

Answer (from me, for what I think this pertains to)???:

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.

JMSDOnline commented 6 years ago

Commits made, however, I will leave this open @fightmaxime in case there is more to this in your op.