You need to place mysql client ddl file. Refer here http://stackoverflow.com/questions/8162322/set-up-rails-to-find-the-default-location-of-libmysql-dll. I installed ROR on windows sometime backa nd resolved the issue by placing the dll file.
regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe <http://vizualize.me/loganathan> On Wed, May 21, 2014 at 5:02 PM, Karthikeyan A K <77mi...@gmail.com> wrote: > Sorry to say that long long ago tried to install MySQL gem in Windows 7 > and 8 and was not able to do it. If possible shift to linux. > > > On Wednesday, May 21, 2014 10:32:16 AM UTC+5:30, Duong vong veasna wrote: >> >> when i use gem install mysql2. I got this error. >> >> Result logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/ >> extensions/x86-mingw32/1.9.1/mysql-2.9.1/gem_make.out >> >> thanks you, >> >> On Tuesday, May 20, 2014 7:34:16 PM UTC-7, Germano Teixeira wrote: >>> >>> Did you try install the mysql gem before run rails new command? >>> >>> Try run "gem install mysql2" as suggested by the log. >>> This will show you what is the real problem. >>> >>> >>> 2014-05-20 22:48 GMT-03:00 Duong vong veasna <veasna...@gmail.com>: >>> >>>> Dear all Rails Developers, i can not use the command "rails new app -d >>>> mysql" when i try to use this i got error. >>>> >>>> please help me, thanks you. >>>> >>>> >>>> >>>> <https://lh4.googleusercontent.com/-7XFxj_-4JLA/U3wFXLFvi4I/AAAAAAAAADw/Ch7nQ8EHN80/s1600/error+02.png> >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Ruby on Rails: Talk" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to rubyonrails-ta...@googlegroups.com. >>>> To post to this group, send email to rubyonra...@googlegroups.com. >>>> To view this discussion on the web visit https://groups.google.com/d/ >>>> msgid/rubyonrails-talk/69db2927-9daf-45f8-830e- >>>> d95e9b2f04a4%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/69db2927-9daf-45f8-830e-d95e9b2f04a4%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/9e9c5ed1-71d8-4efb-937b-8f6636e49438%40googlegroups.com<https://groups.google.com/d/msgid/rubyonrails-talk/9e9c5ed1-71d8-4efb-937b-8f6636e49438%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAD_i5MEqyTia39a3fR2%3Do%3DhXqcQHyERH6_fXz38ZVwAiNSo6gg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.