Wednesday, August 31, 2011

Cassandra with Ruby

Experiencing LoadError on thrift_client/connection trying to get "require 'cassandra'" to work on OSX.  Fixed by noting where the thrift_client gem directory is, then use:
- chmod o+r /thrift_client/connection/*.rb
- chmod o+r /thrift_client/*.rb

make sure that the connections directory as +x permission, or you'll get a similar error on thrift_client/connection/base.

update: then again, so far the 0.12 version fails to open connections to a local Cassandra server anyway,
making todays' frustrations in dealing with Cassandra integration complete.
tomorrow, one more try, then its either switch to Python or just break down and write it in Java.

No comments: