lib/ourkudos/railtie.rb in ourkudos-0.0.19 vs lib/ourkudos/railtie.rb in ourkudos-0.0.21

- old
+ new

@@ -1,11 +1,11 @@ require 'rails' module Ourkudos class Ourkudos < Rails::Railtie rake_tasks do - path = File.expand_path(File.dirname(File.dirname(__FILE__))+'/..') - load path + "/tasks/ourkudos.rake" + path = File.expand_path(File.dirname(File.dirname(__FILE__))) + load File.join path, "tasks/ourkudos.rake" end end end \ No newline at end of file