2

Im newbie starting to learn ruby/rails. While i was trying to setup WeBRICK to run, an error related to the libmysql.dll appeared, so ive downloaded an dll from an older version of mysql and tried again, but the error kept. Then i read that the problem was that my computer is 64bit and the gem mysql2 installed apparently is 32bit, that way i uninstalled that gem and tried to do the following workaround:

1) download mysql connector 32 bits 2) gem install mysql --platform=ruby -- --with-mysql-dir=C:/mysql-connector-c-noinstall-6.0.2-win32

the problem now is that im getting the following error: ERROR: While executing gem ... (Errno::EEXIST) File exists - C:

So, now i cant even install the mysql2 gem

Can you guys help me please?

4

1 回答 1

1

不建议在 windows 上的 rails 上运行 ruby​​。mac或linux会更好。

如果你不能改变你的操作系统。你可以试试这个:

http://eric.cloud-mes.com/2012/04/1/install-Ruby-1.9.3-and-Rails-3.2.3-on-Windows-7.html

于 2012-05-09T03:50:57.090 回答