Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/local/rvm/scripts/functions/notes/warnings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/scripts/functions/notes/warnings/warning_apt_get_rvm
#!/usr/bin/env bash

__rvm_notes_warning_apt_get_rvm()
{
  if [[ "$rvm_path" == "/usr/share/ruby-rvm" ]]
  then
    rvm_warn "
  * WARNING: You are using apt-get broken RVM, you should now:
    <code>
      sudo apt-get --purge remove ruby-rvm
      sudo \command \rm -rf /usr/share/ruby-rvm /etc/rvmrc /etc/profile.d/rvm.sh
    </code>
    <warn>open new terminal and validate environment is clean from old rvm settings:

      <code>env | __rvm_grep rvm</code>

    <warn>install RVM:

      <code>curl -L https://get.rvm.io | bash -s stable --autolibs=enable</code>

    <warn>for details check:

      https://stackoverflow.com/a/9056395/497756
"
  fi
}

__rvm_notes_warning_apt_get_rvm

Hry