sunitparekh / data-anonymization

Want to use production data for testing, data-anonymization can help you.
MIT License
459 stars 92 forks source link

Bug in MongoDB generator execution #44

Open Startouf opened 7 years ago

Startouf commented 7 years ago

I try to run the generator as explained in the readme with

datanon generate_mongo_dsl \
--database=my_db \
--host=localhost

I run into

/usr/local/rvm/gems/ruby-2.3.0/gems/data-anonymization-0.8.0/bin/datanon:45:in `generate_mongo_dsl': uninitialized constant DataAnon::ThorHelpers::MongoDBDSLGenerator (NameError)

MRechtien-zz commented 4 years ago

Hi Startouf, I had the same: Can you try installing "mongo" gem? It's included from lib/data-anonymization.rb