Commit 57cedf5
Define a missing method #root for the development configurator
This fixes an unexpected NoMethodError that experimenting through `bin/console` causes:
```
irb(main):001> Kredis.string "mystring"
/rails/kredis/lib/kredis/connections.rb:15:in `block in configured_for': undefined method `root' for an instance of #<Class:0x0000000108091a60> (NoMethodError)
if configurator.root.join("config/redis/#{name}.yml").exist?
^^^^^
```
This is a follow-up to #135.1 parent 14c7575 commit 57cedf5
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
0 commit comments