[ANN] whichr (windows friendly which written in ruby) 0.3.5

I am pleased to announce release 0.3.5 of the “whichr” gem.

Its purpose: to be a user friendly which command for windows.

New stuffs:

now outputs faster (“as it finds the files”)
now shows platform appropriate path separator right [ 's on windows]
now has a “-a” command, to show all files (executable and non
executable)
ex:

C:> whichr abc* -a # looks for any file in the path named abc*

Installation:
gem install whichr

Bugs:
Currently doze only [ask if you want this for Linux].

More info:
GitHub - rdp/whichr: A 'which' command written entirely in Ruby--windows friendly [searches for .bat files, etc. appropriately]

Roger P. wrote:

I am pleased to announce release 0.3.5 of the “whichr” gem.

Its purpose: to be a user friendly which command for windows.

New stuffs:

now outputs faster (“as it finds the files”)
now shows platform appropriate path separator right [ 's on windows]
now has a “-a” command, to show all files (executable and non
executable)
ex:

C:> whichr abc* -a # looks for any file in the path named abc*

Installation:
gem install whichr

Bugs:
Currently doze only [ask if you want this for Linux].

More info:
GitHub - rdp/whichr: A 'which' command written entirely in Ruby--windows friendly [searches for .bat files, etc. appropriately]

I am running Windows XP Pro SP3+, Ruby 1.8.6.

When trying to install ‘whichr’ I get the following:

C:\Docume~1\skrivsm>gem install --remote whichr
ERROR: Error installing whichr:
sane requires os (>= 0, runtime)

I was able to install ‘gem-sane-binary’ but get a similar error when
trying to install ‘sane’:

C:\Docume~1\skrivsm>gem install --remote sane
ERROR: Error installing sane:
sane requires os (>= 0, runtime)

I was able to install ‘rogerdpack-sane’. Subsequently trying to install
‘whichr’ results in the same ‘requires os …’ error.

Suggestions?

Thanks,

Shawn

C:\Docume~1\skrivsm>gem install --remote whichr
ERROR: Error installing whichr:
sane requires os (>= 0, runtime)

yeah this is some odd error with rubygems.
Try doing a “gem install os” then “gem install whichr” and report back
:slight_smile:
-r

I was able to install ‘gem-sane-binary’ but get a similar error when
trying to install ‘sane’:

what do you mean by “gem-sane-binary”?

Roger P. wrote:

C:\Docume~1\skrivsm>gem install --remote whichr
ERROR: Error installing whichr:
sane requires os (>= 0, runtime)

yeah this is some odd error with rubygems.
Try doing a “gem install os” then “gem install whichr” and report back
:slight_smile:
-r

I was able to install ‘gem-sane-binary’ but get a similar error when
trying to install ‘sane’:

what do you mean by “gem-sane-binary”?

C:\Users\skrivsm>gem search --remote sane

*** REMOTE GEMS ***

gem-sane-binary (0.1.1)
rogerdpack-sane (0.2.0, 0.1.9, 0.1.8, 0.1.7)
sane (0.17.0)

C:\Users\skrivsm>gem sources
*** CURRENT SOURCES ***

http://gemcutter.org/
http://gems.github.com
http://gems.rubyforge.org/

what do you mean by “gem-sane-binary”?

C:\Users\skrivsm>gem search --remote sane

*** REMOTE GEMS ***

gem-sane-binary (0.1.1)
rogerdpack-sane (0.2.0, 0.1.9, 0.1.8, 0.1.7)
sane (0.17.0)

gotcha.
Yeah that one’s not related :slight_smile:
-r