It seems Blackbook, when used in Rails 2, breaks: when it requires "generator.rb", it gets the one in the
json gem (that Rails uses) since that's earlier in the libpath.
We've fixed it on our end by doing
require File.join(Config::CONFIG['rubylibdir'], "generator.rb")
in in our environment.rb. That should get the Ruby stdlib generator.rb and none other. Would be nice to have it fixed
upstream -- this ought to work: http://pastie.textmate.org/private/yvsjsl5rwwlzk40p6n2sa |