View difference between Paste ID: xHrUCwij and RMc6V7tm
SHOW: | | - or go back to the newest paste.
1-
dmull@ace-webapp1:~/ruby-2.1.2$ env | grep PATH
1+
$ env | grep PATH
2
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
3-
dmull@ace-webapp1:~/ruby-2.1.2$ ls /usr/local/bin
3+
4
$ ls /usr/local/bin
5-
dmull@ace-webapp1:~/ruby-2.1.2$ which -a gem
5+
6
7-
dmull@ace-webapp1:~/ruby-2.1.2$ gem
7+
$ which -a gem
8
/usr/local/bin/gem
9-
dmull@ace-webapp1:~/ruby-2.1.2$ /usr/local/bin/gem
9+
10
$ gem
11
-bash: /usr/bin/gem: No such file or directory
12
13
$ /usr/local/bin/gem
14
RubyGems is a sophisticated package manager for Ruby.  This is a
15
basic help message containing pointers to more information.