%1不是有效的Win32应用程序

%1不是有效的Win32应用程序

本文介绍了"193:%1不是有效的Win32应用程序"一个新的Rails应用程序的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个新的Rails应用程序,该应用程序是在Windows 7下通过进入目录并键入"rails newapp"创建的.创建工作正常,当我访问根页面时,一切都很好.但是,当我尝试访问将访问数据库的页面时,得到以下信息:

I have a new rails application which I have created under Windows 7 by going into a directory and typing "rails newapp". The creation went fine, and when I access the root page, all is well. However, when I try to access a page that would access the database, I get this:

193: %1 is not a valid Win32 application.

在developer.log中. Mysql在我的机器上运行良好,并且我在其他目录中的其他应用程序中也运行过,只是这个程序不起作用.有什么想法吗?

In the developer.log. Mysql is running fine on my machine, and I have other applications which I have running in here in other directories, it's just this one that doesn't work. Any thoughts?

推荐答案

以下是对我有用的答案.原来这是x64与x32和Rails 2.3.2的问题.

Here's the answer that worked for me. Turns out it was an issue of x64 vs. x32 issue and Rails 2.3.2.

我从这里得到的答案( http://osdir.com/ml /RubyonRailsTalk/2009-06/msg01775.html ):

The answer I got from here (http://osdir.com/ml/RubyonRailsTalk/2009-06/msg01775.html):

这篇关于"193:%1不是有效的Win32应用程序"一个新的Rails应用程序的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-04 18:55
查看更多