From: Roger Pack Date: 2009-10-31T01:06:33+09:00 Subject: Re: flog 2.1.2 Released > I started trying to run flog's tests, but I'll admit I gave up after > installing minitest to make it happy, then still needing to ruby > -rubygems > the test file to get past that one error, and then running into > 'undefined > method `sexp_type' for class `Sexp' (NameError)'. For me this meant I had an older version of ParseTree gem installed offending file: ParseTree-2.2.0/lib/sexp_processor.rb desired file: sexp_processor-3.0.3/lib/sexp_processor.rb so when parse_tree was doing a require 'sexp_processor' it was picking up this other file instead of the right one. Fixes might be: uninstall old ParseTree gem, or possibly within ruby_parser, before the require 'sexp_processor' run gem 'sexp_processor' to make sure it's at the beginning of the search path, though it's hard to tell because it appears Rubygems loads gem's lib paths in the order that Dir[] returns them, which is different depending on the machine you're on and the order they were installed, etc. HTH. -r -- Posted via http://www.ruby-forum.com/.