diff --git a/bin/console b/bin/console index 4300bda..0daa287 100755 --- a/bin/console +++ b/bin/console @@ -14,7 +14,10 @@ end require "debug" -Kredis.configurator = Class.new { def config_for(name) { db: "2" } end }.new +Kredis.configurator = Class.new do + def config_for(name) { db: "2" } end + def root() Pathname.new(".") end +end.new ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT) IRB.start