Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying to use mysql for RoR on windows 7. for that I install mysql gem as follow.

PS D:\Apps> gem install mysql
Successfully installed mysql-2.8.1-x86-mingw32
1 gem installed
Installing ri documentation for mysql-2.8.1-x86-mingw32...
Installing RDoc documentation for mysql-2.8.1-x86-mingw32...

Now after that when i try to add mysql to gem list then i get following error:

PS D:\Apps> gem mysql
ERROR:  While executing gem ... (RuntimeError)
    Unknown command mysql

I can see that mysql gem is there in gem folder but gem is not allowing me to add it to gem file. any comments/help please.?

share|improve this question
    
You should improve your accept rate. And "gem mysql" is not a command. make "gem --help" to get all available commands. –  Stony Apr 8 '12 at 12:41
add comment

1 Answer 1

up vote 2 down vote accepted

From what I remember, the mysql gem requires the presence of the mysql binary somewhere in the path. This is the mysql client, which the gem uses for many of its operations.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.