I try to install the mysql2 gem on Windows 7 32-bit. I run: gem install mysql2 and I get the following error:
I am struggling to install mysql2 gem 0.2.7, this is the output I get: C:/RailsInstaller/Ruby192/bin/ruby.exe extconf.rb --with-mysql-dir=X: --with-mysql-lib=X:\\lib
I\'m developing an application l开发者_如何学Goayer on top of a rails app developed by someone else.
I run Rails app on Windows7. at first, I use Rails3 + Mysql2. but, cause an error when I test on console:
I am trying to get \'Auto_increment\' using mysql2 adapter with ruby 192. my code is require \'mysql2\'
I have a directory /tmp/buld_source, where I built MySQL 5.5 using cmake with the correct install prefix
I got interested in Ruby on Rails a few weeks ago.I am running on a MacBook Pro with OS 10.6. Ruby version 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.6.0]
It always says: ERROR:Error installing mysql2: ERROR: Failed to build gem native extension. /Users/peter/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
How I can convert Mysql2::Result result to some object? I use: @users = ActiveRecord::Base.connection.execute(\"SELECT sum(summ) as prize, u.* FROM `tournaments` t, `开发者_如何学Cusers` u WHERE u.id
I can a simple new Rails 3 site with \'rails s\' using mysql2 in bundler. I have Passenger too but with mysql2 I get: