move require 'gem' outside of modules

before this commit:
* `rake -T' fails to load gems that are required within modules
* `bundle exec rake -T' works

after this commit:
* `rake -T' works on its on
* `bundle exec rake -T' still works