Mercurial > ec-dotfiles
comparison rc/bash @ 304:73981a7539dd
New rubygems path.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Mon, 20 Feb 2012 13:15:02 +0000 |
parents | 7251d4f5e5c9 |
children | 59543eaa818f |
comparison
equal
deleted
inserted
replaced
303:e4208bf9c585 | 304:73981a7539dd |
---|---|
120 | 120 |
121 # Custom application I usually install and safe to prioritize | 121 # Custom application I usually install and safe to prioritize |
122 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do | 122 for i in {"${HOME}/app","/opt"}/{tmux,ruby19,node,tarsnap,symon,nginx}/{bin,sbin}; do |
123 [ -d "${i}" ] && PATH="${i}:${PATH}" | 123 [ -d "${i}" ] && PATH="${i}:${PATH}" |
124 done | 124 done |
125 # New(?) rubygems bin PATH | |
126 for i in {"${HOME}/app","/opt"}/ruby19/lib/ruby/gems/1.9.1/bin; do | |
127 [ -d "${i}" ] && PATH="${i}:${PATH}" | |
128 done | |
125 | 129 |
126 # MySQL in common locations highest priority since new = better. Also no compatibility problem. | 130 # MySQL in common locations highest priority since new = better. Also no compatibility problem. |
127 # Cluster is superset of Enterprise/GPL so it gets highest priority. | 131 # Cluster is superset of Enterprise/GPL so it gets highest priority. |
128 # And use only one. | 132 # And use only one. |
129 for mydir in {"${HOME}",/app{,s},/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do | 133 for mydir in {"${HOME}",/app{,s},/opt}/mysql/{{cluster,enterprise}/mysql/,}bin; do |