From: Hassan Schroeder Date: 2009-09-29T22:13:46+09:00 Subject: Re: How do I use nitpick On Mon, Sep 28, 2009 at 9:25 PM, Michael W. Ryder <_mwryder@worldnet.att.net> wrote: > I was looking for a program like lint in C and came across nitpick.  I > installed the gem but am not sure where to go from there.  With lint one >  ran it from the command prompt with the file name.  I don't know how to do > this with gems.  If I try to run it like lint I get over a dozen lines of > error messages and no output. ripple:~/$ sudo gem install nitpick Password: Successfully installed trollop-1.14 Successfully installed nitpick-1.0.2 2 gems installed Installing ri documentation for trollop-1.14... Installing ri documentation for nitpick-1.0.2... Installing RDoc documentation for trollop-1.14... Installing RDoc documentation for nitpick-1.0.2... ripple:~/$ which nitpick /usr/bin/nitpick ripple:~/$ nitpick --help Nitpick is a lint-like static code analyzer for Ruby. Usage: `nitpick [(--only str | --except str)*|-h] file1.rb file2.rb` By default, nitpick will analyze *all* loaded code. To reduce the noise: --only, -o : Nitpick only classes/modules that match this string. --except, -e : Don't nitpick classes/modules that match this string. --help, -h: Show this message ripple:~/$ Are you sure your installation ran all the way through? -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan