RubyGems Navigation menu

whiches 0.0.2

Cross-platform way of finding executables in all the paths in $PATH. This is similar to the Unix 'which' command, however, instead of finding the first occurence of the executable in $PATH, it finds all occurences in $PATH. This could be useful if you installed something that modified your PATH and now you're executing a different version but can't figure out what happened. Example: On OS X, OpenSSL is installed in /usr/bin/openssl % which openssl ==> /usr/bin/openssl After installing PostgreSQL: % which openssl ==> /Applications/Postgres.app/Contents/MacOS/bin/openssl If you're trying to diagnose what happened, you can use: % whiches openssl ==> [ [0] "/Applications/Postgres.app/Contents/MacOS/bin/openssl", [1] "/usr/bin/openssl" ] This will show you that the first one that is found in the PATH is the one from Postgres, so if you want to get back your original one, you have to modify your PATH accordingly.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 0.0.2 - July 11, 2013 (7.5 KB)
  2. 0.0.1 - July 10, 2013 (6.5 KB)

Runtime 依赖 (1):

业主:

作者:

  • Alain Achkar

SHA 256 校验和:

6a68853e8a1d0ac41ee63627ae04234939fc65f8f6f0351f30909684cd43d40b

下载总量 6,298

这个版本 3,732

许可:

需要的 Ruby 版本:

链接: