我是Ruby环境的新手。我想在windows xp的xampp中运行我的Ruby on rails应用程序,而不是WeBrick服务器,它是为ruby on rails内置的……
我尝试在apache- http.conf文件中添加虚拟主机
当我运行我的应用程序时,我能够看到“欢迎出国”...
但是当我点击“关于你的应用程序的环境”时,它显示的错误如下
Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
9/9/2011 10:47:31 AM
Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1 发布于 2012-07-18 23:27:12
要使用apache部署您的应用程序,您需要使用phusion passenger http://www.modrails.com,在web上有大量的操作指南,并且文档足够好,足以让服务运行。
发布于 2014-05-19 09:05:10
这意味着你的Ruby on Rails服务器是没有运行的。你需要先运行你的服务器。
我制作了一个批处理文件start-server.bat,其中包含
d:
cd "D:\Ruby\Web\rails1"
"C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe" script\rails server然后检查正在运行的服务器的端口号。

因此,由于屏幕截图上的端口显示为10524,因此您可以在
http://localhost:10524/https://stackoverflow.com/questions/7357487
复制相似问题