无法启动 rails 服务器 [英] unable to start the rails server
本文介绍了无法启动 rails 服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我尝试启动 Rails 服务器时出现此错误
When I try to start my rails server i get this error
C:/Ruby187/lib/ruby /gems/1.8/gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql 2.so: 193: %1 is not a valid Win32 application.
- C:/Ruby187/lib/ruby/gems/1.8 /gems/mysql2-0.3.11-x86-mingw32/lib/mysql2/1.8/mysql2.so (LoadError)
尝试更改 libmysql.dll 文件,即使它不起作用.
Tried changing the libmysql.dll file even then it doesn't work.
推荐答案
问题出在 mysql 上.它是 64 位安装.将其更改为 32 位,它运行良好.
The problem is with mysql. It is a 64 bit installation. Change it to 32bit and it runs fine.
这篇关于无法启动 rails 服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文