Friday, October 03, 2014

Cassandra Ruby Gem Issues on Mac OS X 10.9.5

I was trying to resolve some issues with building the cassandra gem on Mac OS X 10.9.5. The solution was a multipart solution. You first need to build thrift first which has a known issue, and then build cassandra. This technical tip is very simple. I didn't want to lose it, and I am sure that there are other people out there who will need it.
Note: Please make sure you have updated all the gems in your repository before executing these commands.
1
2
sudo gem install thrift -- --with-cppflags='-D_FORTIFY_SOURCE=0'
sudo gem install cassandra -- --with-cppflags='-D_FORTIFY_SOURCE=0'
This will build both required gems.

0 comments :

Popular Posts