From: Brian Buckley Date: 2005-10-07T01:55:28+09:00 Subject: Re: facets-0.7.2 > Actually the #permute method was renamed to, surprise, > #each_permutation. It's a recursive method. So, just change #permute to > #each_permutation and it ought to work. > > A new version will be out early next week (finally!) that also has this > fix. Thanks, T. In my code I added a temporary alias_method line after the require line and now it works. require 'facet/array/each_permutation' #needed until facets-0.7.2 bug is fixed class Array; alias_method :permute, :each_permutation end [1,2,3].each_permutation{|x| p x} #now it works!