Closed paulelliott closed 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.
require
lib/barnes.rb
I released 0.0.2 with this change. Thanks for the report.
The
require
statements at the top of the railtie need to be moved tolib/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.