当前位置: 太平洋域名资讯 > 建站心得 > 文章正文

在dreamhost主机上配置ruby on rails

admin 发表于 2009-10-27 09:26 | 来源: | 阅读 0 views

I ran across the same problem as you. I followed the http://wiki.dreamhost.com/index.php/Ruby_on_Rails tutorial but realized (when I went to view the site) that I could see the rails folder structure. Here is what I did.

1.) Created the subdomain using the control panel. By default it places the directory in your home folder. It creates the folder “subdomain.yourdomain.com”

2.) Login via SSH and in the home directory run “rails subdomain.yourdomain.com”

This step creates the directory structure necessary for step 4

3.) Login to the control panel again and navigate to https://panel.dreamhost.com/index.cgi?tree=domain.manage&

Once you’re there, click on the subdomain’s “EDIT”

4.) Change the “Web Directory” setting from “/home/username/subdomain.yourdomain.com” to “/home/username/subdomain.yourdomain.com/public”

5.) Wait 10 minutes

6.) Hit the refresh button at subdomain.yourdomain.com

It’s funny that this type of tutorial doesn’t appear in the WIKI. Let’s see if I can edit it….

关键字: ,
喜欢太平洋域名资讯的文章,那就通过 RSS Feed 功能订阅阅读吧!

我要评论

*

* 绝不会泄露



返回首页 | 关于我们 | 联系我们 | 域名列表 | 网站地图 | 友情链接 | 版权声明 | 模板设计