I guess you're on OS X, so therefore you should install MySQL first before actually loading the mysql Gem Two options: Follow this guide here or this slightly older guide on how to set everything up (MySQL, Ruby and Rails). It should actually be enough if you install MySQL from the official website, but it involves a bit of fiddling around before from my experience You can also install MySQL through Homebrew Here's a guide for that. Note that you have to manually start it with launchctl load ~/Library/LaunchAgents/com.mysql.mysqld.plist.
I guess you're on OS X, so therefore you should install MySQL first before actually loading the mysql Gem. Two options: Follow this guide here or this slightly older guide on how to set everything up (MySQL, Ruby and Rails). It should actually be enough if you install MySQL from the official website, but it involves a bit of fiddling around before from my experience.
You can also install MySQL through Homebrew. Here's a guide for that. Note that you have to manually start it with launchctl load ~/Library/LaunchAgents/com.mysql.mysqld.plist.
You're right, I'm on OS X, but I already have MySQL, and it's running... – Sander Declerck Jun 15 at 8:50 Oh, okay then that's a slightly different problem. Are you sure it's running? I've kinda seen the same error when not loading it with launchctl – slhck Jun 15 at 8:51 Ye, I can access it using mysql workbench, so it's definitely running – Sander Declerck Jun 15 at 8:54 Hm.
Maybe that helps. Or that one. – slhck Jun 15 at 8:57 Thanks, I'll take a look at it – Sander Declerck Jun 15 at 9:10.
If you use Ubuntu try to install apt-get install ruby-dev libmysql-ruby libmysqlclient-dev package.
Dylib is for OS X. – slhck Jun 15 at 8:46.
You might need to specify --with-lib or --with-mysql-dir when installing the MySQL gem. Gem install mysql2 -- '--with-mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/include.
You might just need to reinstall the mysql2 gem. First you should find your mysql_config. You can do this by issuing: sudo find /usr/local -name mysql_config then install the gem with (sudo) gem install mysql2 -- --with-mysql-config=RESULT_FROM_ABOVE this should give you a gem that is configured with your mysql installation.
Hope that helps.
I guess you're on OS X, so therefore you should install MySQL first before actually loading the mysql Gem.
Try adding export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/:$DYLD_LIBRARY_PATH to your ~/.profile. If your mysql install is not in /usr/local you will have to change that path.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.