Permalink
Browse files

Refactors to avoid `lib/` being in LOAD_PATH

  • Loading branch information...
1 parent 1a8caf7 commit 0a337083e00a4b6e43a5a8d682d460394fc41baf @alindeman alindeman committed Mar 5, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/zonebie.rb
  2. +1 −1 lib/zonebie/backends.rb
View
@@ -1,4 +1,4 @@
-require "zonebie/version"
+require File.expand_path("zonebie/version", File.dirname(__FILE__))
module Zonebie
class << self
@@ -30,4 +30,4 @@ def set_random_timezone
end
end
-require "zonebie/backends"
+require File.expand_path("zonebie/backends", File.dirname(__FILE__))
View
@@ -1 +1 @@
-require "zonebie/backends/active_support"
+require File.expand_path("backends/active_support", File.dirname(__FILE__))

0 comments on commit 0a33708

Please sign in to comment.