Error while install mysql2 in windows 7

hello i have problem while install gem mysql2 in windows 7 i have got
error

An error occurred while installing mysql (0.3.7), and Bundler cannot
continue. Make sure that ‘gem install mysql2 -v ‘0.3.7’’ succeeds before
bundling.

Please help me i want to codding with rails :slight_smile:

Have you installed mysql in windows7?

Javier Q. wrote in post #1027810:

Have you installed mysql in windows7?

yes i have installed it, and i have installed devkit

When I was starting with rails I had the same trouble, first I didn’t
have
mysql
then I had to add
gem “mysql2”
to my Gemfile and the run bundle install
after that everything worked…

PD: I use ubuntu… I’m not sure how it works in windows, maybe
railsinstaller install mysql2, I haven’t tried it yet

On Oct 21, 6:23pm, prasetya utama [email protected] wrote:

hello i have problem while install gem mysql2 in windows 7 i have got
error

An error occurred while installing mysql (0.3.7), and Bundler cannot
continue. Make sure that ‘gem install mysql2 -v ‘0.3.7’’ succeeds before
bundling.

Please read the following article:

http://blog.mmediasys.com/2011/07/07/installing-mysql-on-windows-7-x64-and-using-ruby-with-it/

Instructions are the same except change to mysql2

You will need to install the gem before adding it to the Gemfile
since it requires configuration options (–with-mysql…)

HTH,

Luis L.

Here, I’m already pass for it.

you have to install the mysql gem not the mysql2 gem.

mysql2 gem don’t work on Windows 7 only on Windows XP.

but using mysql will be the same thing…

http://blog.allanfreitas.com.br/ruby/rubyonrails/problema-rubyonrails-e-mysql-no-windows-7

Allan Freitas
Desenvolvedor e Analista Web / Web D. and Analist
Email/Gtalk: [email protected]
Msn: [email protected]

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