How to add mysql in rails 3.2.1

hey everyone i have installed rails 3.2.1 and want to create app but i
use mysql wht the gems need to add in gem file

thanks in advance

You need to add ‘gem mysql2’ in your Gemfile and then run ‘sudo bundle

On Fri, Feb 3, 2012 at 9:33 PM, honey ruby
[email protected]wrote:

To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at


gem ‘mysql2’, use -d option to specify the database like ‘rails new
-d mysql


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs