1.7.2: gem generate_index -d gem_base/

I had this gem server -d directry command problem wit 1.6.2
Now I upgraded to 1.7.2 and had a different problem :
gem generate_index -d gem_base/ --debug failed with the below
error.
As this version does not appear on rubyforge I report it here.
Maybe you can help