On Jun 30, 2:54 pm, Barney <bsper...@gmail.com> wrote:
> Hi Guys,
>      Thanks for the replies, but I'm still stuck with "rake
> db:migrate" failing.  I get a popup window that says that LIBMYSQL.DLL
> can't be found and the command line says that c:/ruby192/lib/ruby/gems/
> ruby 1.9.1/gems/mysql-2.8.1-x86-mingw32/lib/1.9/mysql_api.so  can't be
> found (the statement has the Windows slashes backward but I don't know
> where that request is coming from in the code and I suspect that it
> doesn't matter, anyway).  Using the parameter "--trace" shows a lot of
> lines but none of them are marked as creating the error.  I've
> installed MySQL 5.5.13 today from the MySQL.com community site but I
> have no evidence that that is being used.

You need libmysql.dll from MySQL 5.0.x, which was used to build mysql
gem binaries.

Either you download that or you can force compilation of MySQL gem
following these instructions (see MySQL/C Connector)

https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#gems_mix_bits
http://stackoverflow.com/questions/5367563/unable-to-install-mysql2-gem-on-windows-7/5368767#5368767

--
Luis Lavena

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to