Somewhere between happy and total f**king wreck
Memcached and memcached gem on Leopard
In the pursuit of utilizing memcached on my 2008 MacBook with Leopard, I’ve been stuck for a while trying to get the memcached gem to compile and install properly using memcached installed through MacPorts.
After stumbling upon the proper procedure at the Peleteiro blog, I finally noticed that it’s actually in the memcached gem docs.
Anyhow, here’s the proper procedure for installing memcached and the gem on Leopard:
sudo port install memcached libmemcachedsudo env ARCHFLAGS="-arch i386" gem install memcached -- --with-rlibmemcached-include=/opt/local/include --with-rlibmemcached-lib=/opt/local/lib
I might later look into trying interlock or cache_fu, or following some/all of these direction.
| Print article | This entry was posted by Shane on March 31, 2008 at 10:10 pm, and is filed under Computers, OSX, Programming, Rails. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
-
Joel
-
Si