Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redis conf is wrong in the README #8

Open
chikamichi opened this issue Oct 8, 2011 · 0 comments
Open

Redis conf is wrong in the README #8

chikamichi opened this issue Oct 8, 2011 · 0 comments

Comments

@chikamichi
Copy link

As of the latest version of redis-rb, the configuration options is a hash with smart default values, so one can either write:

Aclatraz.init :redis
Aclatraz.init :redis, :path => "redis://localhost:6379/0" # the redis-rb defaults
Aclatraz.init :redis, :host => "localhost", :port => 6379, :db => 0

See https://github.com/ezmobius/redis-rb/blob/master/lib/redis/client.rb for the (undocumented) options keys.

This should be fixed in Aclatraz' README :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant