fixed travis build issue when testing ActiveRecord and Mongoid generators