title: RubyMine 3.2 failing to find libmysqlclient.18.dylib on MacOS Lion
body: <p>Just upgraded to RC1 of RM 3.2 on MacOS Lion and couldn't run the application anymore. Running with rvm. On startup the mysql2 gem reported it couldn't find libmysqlclient.18.dylib on a dlopen.</p>
  
  <p>Solved it. Posting the solution here  so it will help somebody save some time. </p>
  
  <p>Using Apple's Property List Editor create an entry in ~/.MacOS/environment.plist call LD_LIBRARY_PATH and set the value to /usr/local/mysql/lib or whereever your MySQL libraries live.</p>
  
  <p>Logout and log back in and RubyMine and the mysql2 gem are happy again.</p>