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

host:port required for server config #6

Closed
sethladd opened this issue Dec 17, 2009 · 0 comments
Closed

host:port required for server config #6

sethladd opened this issue Dec 17, 2009 · 0 comments

Comments

@sethladd
Copy link

The README needs a slight update:

Instead of

client = Cassandra.new('Twitter', '127.0.0.1')

it should be

client = Cassandra.new('Twitter', '127.0.0.1:9160')

otherwise you'll get a "ArgumentError: Servers must be in the form "host:port"" when you try to insert a row.

Thanks for the library!

This issue was closed.
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