From 1637f31c0d8b6399440211e8df8f54ba07f36241 Mon Sep 17 00:00:00 2001 From: Holger Just Date: Tue, 10 Dec 2013 17:45:58 +0100 Subject: [PATCH] =?UTF-8?q?Set=20DYLD=5FLIBRARY=5FPATH=20for=20mysql=20gem?= =?UTF-8?q?=20(=E2=95=AF=C2=B0=E2=96=A1=C2=B0)=E2=95=AF=EF=B8=B5=20?= =?UTF-8?q?=E2=94=BB=E2=94=81=E2=94=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .bashrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.bashrc b/.bashrc index e57bc45..e8f013a 100644 --- a/.bashrc +++ b/.bashrc @@ -69,6 +69,8 @@ fi case `uname` in Darwin) export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home" + # For Ruby to find the mysql libraries + export DYLD_LIBRARY_PATH=/usr/local/mysql/lib:$DYLD_LIBRARY_PATH # this requires a symlink from "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" # into $PATH, e.g. ~/bin/subl