开发者

Ruby and Apache

I followed these instructions, installed passenger, but the web page is still not resolving to the ruby app. It just shows the files. P开发者_JAVA百科lease help!

https://github.com/redbooth/teambox/wiki/installing-on-ubuntu


By "Ruby app", I assume you refer to an app built with Ruby on Rails, the most common Ruby web application framework.

Make sure that you set the web root to the /public directory, your PassengerRoot and PassengerRuby lines are in the right file (bear in mind that you should not copy those, but instead what the installer told you!), and that you included the RailsEnv line in your site's configuration. (If you are on Rails 3, use RackEnv, instead.)

But these are just generic tips for likely issues. It helps if you have some more specific error messages, if any exist...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜