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 <[email protected]>: > 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 [email protected]. > To post to this group, send email to [email protected]. > 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAKj7%3DuS7o4JLJB-Z_y13AB8pSfb-BdAXypsPwG07XjeqC2g%3D4w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

