728x90 AdSpace

Latest Article



Latest Ruby on Rails Install gem mysql2 on Windows 7 & 8 /8.1/ 9




How to Install mySql gem on Window 7 or Window 8 and Window 8.1 or Window  9 x64 x86 32 bit and 64 bits and mysql - ruby mysql2 gem install error solution Installing MySQL2 gem fails while running "bundle install" on Windows solutions How to install Ruby 3 on rails in Windows 7 solution follow following steps:

1.Download mySQL Server Latest version Installer

2.Download mySQL Connector C Latest Version in Zip Format

3.Install mySql Server.

4.UnZip MySQl-Connector and place in C Drive in following path name

C:\mysql-connector


5.Then Copy the C:\mysql-connector\lib libmysql.dll

to

C:\RailsInstaller\Ruby1.9.3\bin

6. Open DOS Command and install with following same commands

gem install mysql2 -- '--with-mysql-lib="C:\mysql-connector\lib" --with-mysql-include="C:\mysql-connector\include"'

or

gem install mysql2 -- '--with-mysql-dir="C:\mysql-connector\"'



It  Will install the mysql2 and now your check









Latest Ruby on Rails Install gem mysql2 on Windows 7 &  8 /8.1/ 9
  • Title : Latest Ruby on Rails Install gem mysql2 on Windows 7 & 8 /8.1/ 9
  • Posted by :
  • Date : 04:24
  • Labels :






  • Blogger Comments
  • Facebook Comments

0 comments:

Post a Comment