Skip to content

Commit

Permalink
Update config file to get right path
Browse files Browse the repository at this point in the history
  • Loading branch information
fanantoxa committed Jan 16, 2017
1 parent 2bec86d commit 976c44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/saxerator/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def adapter=(name)
end

def adapter
require "saxerator/adapters/#{@adapter}"
require File.join(File.dirname(__FILE__), "../saxerator/adapters/#{@adapter}")
Saxerator::Adapters.const_get(@adapter.to_s.capitalize, false)
end

Expand Down

0 comments on commit 976c44a

Please sign in to comment.