Following along the github README for talib_ruby:
sudo port install ta-lib
Complete. Next is where the trouble begins.
sudo
Just adding an answer for brew installed ta-lib.
env ARCHFLAGS="-arch x86_64" gem install talib_ruby -- --with-talib-include=/usr/local/include/ta-lib --with-talib-lib=/usr/local/lib