daily pastebin goal
51%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [root@brick ~]# echo $PATH
  2. /usr/local/rvm/gems/ruby-1.9.2-p0/bin:/usr/local/rvm/gems/ruby-1.9.2-p0@global/bin:/usr/local/rvm/rubies/ruby-1.9.2-p0/bin:/usr/local/bin:/usr/lib/oracle/10.2.0.3/client64/bin:/usr/java/latest/bin/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/local/bin:/root/bin
  3. [root@brick ~]# rvm use system
  4. Now using system ruby.
  5. [root@brick ~]# echo $PATH
  6. /usr/local/bin:/usr/lib/oracle/10.2.0.3/client64/bin:/usr/java/latest/bin/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/root/bin:/usr/local/rvm/bin
  7. [root@brick ~]#
  8.  
  9. [root@brick ~]# grep PATH= .bash_profile
  10. PATH=/usr/lib/oracle/10.2.0.3/client64/bin:/usr/java/latest/bin/:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/bin:/sbin:/bin:/usr/sbin:/usr/local/bin:/root/bin
  11.  
  12. Note the /usr/local/bin near the end.  When you do "rvm use system" it's _that_ one which gets deleted, and not the one that was prepended.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top