Thursday, April 21, 2011

Flags For RVM Ruby

Using macports-installed extras:

LDFLAGS="-L/opt/local/lib -arch x86_64" CPPFLAGS="-I/opt/local/include" rvm install 1.8.6-p399

Thursday, March 10, 2011

activerecord-sqlserver-adapter woes

When installing the activerecord-sqlserver-adapter on CentOS/Redhat, the instructions posted here generally work well (including the bit about using tiny_tds instead of ODBC).

The only missing piece is that you must also install the ruby-static package along with those mentioned. I believe I found this in ELFF or EPEL. No problem.