lib/page_rankr.rb in PageRankr-1.4.3 vs lib/page_rankr.rb in PageRankr-1.5.0
- old
+ new
@@ -1,7 +1,7 @@
-require File.join("page_rankr", "tracker")
-require File.join("page_rankr", "backlinks")
-require File.join("page_rankr", "ranks")
+require File.join(File.dirname(__FILE__), "page_rankr", "tracker")
+require File.join(File.dirname(__FILE__), "page_rankr", "backlinks")
+require File.join(File.dirname(__FILE__), "page_rankr", "ranks")
module PageRankr
class << self
def backlinks(site, *search_engines)
Backlinks.new.lookup site, *search_engines
\ No newline at end of file