mysql2

Can Ruby on Rails 3 work with MySQL on Windows 7?

I try to install Rails 3 on Windows 7, and rails new someapp -d mysql cd someapp bundle install will fail at mysql2 so, there is no way to use MySQL but to stick with SQLite3. But I tried rails new app_postgres -d postgresql cd app_postgres bundle install and it all worked. Does that mean perhaps Rails team favor Postgresql slig...

How can I set flag CLIENT_MULTI_STATEMENTS for mysql2 ruby gem?

Or another way to run multiple queries in one function call in mysql2 gem? ...

A Macbook with Leopard cannot use sqlite3-ruby or mysql, so no Rails 3 possible on a mac with Leopard?

I have a macbook that has Leopard (OS X 10.5) but don't have Snow Leopard. It ran Rails 2.3.8 fine, but now when it comes to Rails 3.x, with Ruby 1.9.2 (or 1.8.7), gem install cannot build mysql, mysql2, or sqlite3-ruby, so essentially, this macbook can't use Rails 3.x at all? Is there a way? thanks. (it seems that the latest Xcode ...

How to compile sqlite3, mysql and postgres driver for Rails 3.X on Mac OS X Leopard?

Is there a reason why all sqlite3, mysql, postgres driver compiles on Mac OS X Leopard when it is Rails 2.3.8, but can't compile when it is Rails 3.x? Theoretically, isn't it just some compile flags to make them work? (They all compile on Snow Leopard with the latest Xcode, but can't compile with Leopard with a slightly older Xcode... ...

Error installing mysql2 gem on ruby 1.9.2

I am currently trying to install the mysql2 gem for a ruby on rails application. I am using ruby 1.9.2. Here is the error todd-andrewss-macbook:shiftly toddOld$ gem install mysql2 Building native extensions. This could take a while... ERROR: Error installing mysql2: ERROR: Failed to build gem native extension. /Users/toddOld/.rvm/r...

How to install mysql2 gem using bundler and capistrano

I'm trying to deploy a small rails3 app to a FreeBSD host using capistrano and bundler. I have added the line require 'bundler/capistrano' to my deploy.rb file, and bundler seems to work fine until it comes to the mysql2 gem. Here the install fails because the install script uses chmod and chgrp to try to install the gem with root:whe...