开发者

how to deploy ruby on rails application in xampp in windows xp?

I'm very new to Ruby environment .. I want to run my Ruby on rails Application in apache in xampp on windows xp rather than WeBrick server which is in-built for ruby on rails...

I tried it by adding Virtual host in apache- http.conf file

When i run my application i'm able to see "Welcome Abroad"....

But when i click on "About your application’s environment" it was showing error like the following

Obj开发者_StackOverflowect 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 


To deploy your app with apache you need to use phusion passenger http://www.modrails.com There are plenty of how-to's around the web and the documentation is good enough to get the service running.


This means your Ruby on Rails server is NOT running. You need to run your server first.

I made a batch file, start-server.bat which contains

d:
cd "D:\Ruby\Web\rails1"
"C:\RailsInstaller\Ruby1.9.3\bin\ruby.exe" script\rails server

then check the PORT number of the server that is running,

how to deploy ruby on rails application in xampp in windows xp?

So since the port on the screenshot says 10524, you can run it on

http://localhost:10524/
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜