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...
Or another way to run multiple queries in one function call in mysql2 gem?
...
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 ...
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... ...
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...
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...