[Ruby] interesting problems with ParseTree and Heckle

Ryan Davis ryand-ruby at zenspider.com
Fri Mar 2 14:35:53 PST 2007


On Mar 2, 2007, at 5:56 AM, Bryan Liles wrote:

> This problem is most likely caused by my configuration, but I still
> need some help figuring it out.
>
> This happens when I try to "heckle" anything...
>
> $ heckle -v Heckle
> /opt/local/lib/ruby/gems/1.8/gems/ParseTree-1.7.0/lib/parse_tree.rb:
> 122:in `parse_tree_for_meth': bad version, 1.8.5 != 1.8.4 (fatal)

This means that the last time you used ParseTree you were running  
1.8.4. ParseTree, being version specific, embeds the version it was  
built against inside its source and checks it each run. You've since  
upgraded to ruby 1.8.5. Nuke your ~/.ruby_inline (or just the  
ParseTree related files) and run again.



More information about the Ruby mailing list