examples/redis/basic.rb in flipper-redis-0.20.4 vs examples/redis/basic.rb in flipper-redis-0.21.0.rc1
- old
+ new
@@ -1,10 +1,6 @@
-require 'pathname'
+require 'bundler/setup'
require 'logger'
-
-root_path = Pathname(__FILE__).dirname.join('..').expand_path
-lib_path = root_path.join('lib')
-$:.unshift(lib_path)
require 'flipper/adapters/redis'
options = {}
if ENV['REDIS_URL']
options[:url] = ENV['REDIS_URL']