require "rspec"
require "rack"

$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LOAD_PATH.unshift(File.dirname(__FILE__))
require "geo_redirect"
require "support"

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.order = "random"
end

require "rspec"
require "rack"

require_relative "../lib/geo_redirect.rb"
require "support"

# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.run_all_when_everything_filtered = true
  config.filter_run :focus

  config.order = "random"
end

--- 
+++ 
@@ -1,7 +1,9 @@
 require "rspec"
 require "rack"
 
-require_relative "../lib/geo_redirect.rb"
+$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
+$LOAD_PATH.unshift(File.dirname(__FILE__))
+require "geo_redirect"
 require "support"
 
 # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
Modify load path instead of using require_relative
