heroku / barnes

Tell StatsD about request time, GC, objects and more. Latest Rails 4 and Ruby 2.1 support, and ancient Rails 2 and Ruby 1.8 support.
MIT License
0 stars 0 forks source link

The non-rails method doesn't require necessary files #10

Closed paulelliott closed 7 years ago

paulelliott commented 7 years ago

The require statements at the top of the railtie need to be moved to lib/barnes.rb so they are required even if you aren't using Rails. Otherwise folks using sinatra have to manually require all the files in the gem in their app's initializers.

schneems commented 7 years ago

I released 0.0.2 with this change. Thanks for the report.