diff --git a/lib/rspec_api_documentation/railtie.rb b/lib/rspec_api_documentation/railtie.rb index 35f31c79..edf5c8c9 100644 --- a/lib/rspec_api_documentation/railtie.rb +++ b/lib/rspec_api_documentation/railtie.rb @@ -1,7 +1,7 @@ module RspecApiDocumentation class Railtie < Rails::Railtie rake_tasks do - load "tasks/docs.rake" + load File.join(File.dirname(__FILE__), '../tasks/docs.rake') end end end