How to install Ruby on Rails on Windows 7 - Part 3, MySQL connector

Jonathan MacDonald · 29K views · 2014 · 15:01

Open on YouTube

Web developmentPython, Ruby & scripting languagesDatabases & storagetutorialdated

Why Stack Overflow recommends it

Stack Overflow users link it when answering or troubleshooting Ruby on Rails and MySQL2 gem installation problems on Windows 7.

Recommended by 2 people across 2 different months, 2014 to 2016.

What it is

A 15-minute beginner tutorial, part 3 of 4, on setting up Ruby on Rails 4 on Windows 7 with the MySQL2 gem. It walks through installing the MySQL connector and shows that the mysql2 gem compiles against it. Presented by Jonathan MacDonald.

What people said

Recommends Muhammad Soliman · 2014-09 · Stack Overflow · on “Can't install gems on Windows 7 64”

As for me I closed the current prompt and opened a new command prompt window after installing DevKit then it was working fine. check below full series of installation of ruby and ruby on rails on windows 7 [LINK] [LINK] [this video] [LINK]

Recommends RadioHead Gamer · 2016-09 · Stack Overflow · on “Ruby on Rails server connection error”

Thanks a lot! But, I have the config.yml file but not the config/database.yml file. Let me show you which tutorial I have been following so you can have the idea. I have followed pt 1-3 of his tutorials and now I am lost! :/ [this video]

Cites user2991245 · 2014-03 · Stack Overflow · on “Ruby on Rails in Windows 7”

I am installing ruby by following these video - [this video] previosly I was getting these error incorrect mysql client library version this gem was compiled for 6.0.0 then I followed this link mysql2 gem compiled for wrong mysql client library [LINK] but now i am getting these - c:/row/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require ': cannot load such file -- mysql2/mysql2 (LoadError) from c:/row/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:5 5:in `require' from c:/row/Ruby200/lib/ruby/gems/2.0.0/gems/mysql2-0.3.15/lib/mysql2.rb :8:in `<top (required)>' from c:/row/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:1 35:in `require' from c:/row/Ru