From: "Michael W. Ryder" <_mwryder@...> Date: 2009-10-01T05:45:10+09:00 Subject: Re: How do I use nitpick John Barnette wrote: > On Sep 30, 2009, at 11:50 AM, Michael W. Ryder wrote: >> So my best choice is to write my own version of lint using no >> dependencies on gems which may be tied to a specific language >> feature that may or may not work with the next release of Ruby. > > Wow, drama much? I think the best thing for you to do would be to > focus on the specific problem you're trying to solve (I assume it's "I > need to lint some code!") and any specific problems that are keeping > you from doing it right now (maybe, "It's in 1.9 and nitpick is > jacked!"). Hyperbole is just silly. > The real problem is with the inability to tell if a tool will work in a given environment. I looked on RubyForge for lint and found two programs, only one that appeared to be functional. After using gem install to load the gem and all the dependencies I found out that my current level of Ruby was insufficient to run the program. So I updated Ruby to the latest version without knowing that other tools needed by the first wouldn't work with the latest and greatest. Its very frustrating to try and do something and spend so much time trying to navigate the maze of dependencies while blindfolded. > Rereading the thread, since nitpick looks to be a static analysis > tool, it seems to me that your "best choice" is to look at modifying > it to use ruby_parser. > > > ~ j. > > >