flyerhzm / redis-sentinel

another redis automatic master/slave failover solution for ruby by using built-in redis sentinel (deprecated)
MIT License
188 stars 67 forks source link

Rake task to start a console with the gem loaded #37

Closed ksol closed 10 years ago

ksol commented 10 years ago

I found that having a rake task to load the gem is pretty useful when developping (cf http://erniemiller.org/2014/02/05/7-lines-every-gems-rakefile-should-have/), so this pull requests adds a task for it. Use with rake console.

flyerhzm commented 10 years ago

I don't see any benefit to add rake console feature.

ksol commented 10 years ago

Well, it allows people to quickly fire up a console and try stuff with the gem - I used it yesterday for instance. And it's not like those lines are costly to maintain, you can just leave them there and not think about them if you don't care.