Deploying Ruby on Rails on Bluehost

喜欢而已 提交于 2019-11-30 14:44:10
JanuskaE

It's so painful. The instructions are incomplete. There are a bunch of things to get caught on like broken versions of sass, assets not pre-compiling, database configuring, how to restart the server, the root directory for passenger, etc. I had problems with all of those things. I had to come here (Stack Overflow) to find most of the answers. My site still runs in dev but not in production. The BH support is not much help. THey should call it BlueWordPressHost because that is who they are supporting.

Look in the <rails_root>/log directory for clues.

I'm not willing to switch over to Heroku and use postgres, I tried it but in reality your just dealing with another set of problems setting it up.

Give it a look -> Ruby on Rails Setup with Bluehost. You cant just drop your Files in a folder.

Although Bluehost does a great job, i recommend you using Heroku for deploying Ruby on Rails Apps.

Deploying with Heroku is quite Easy -> Deploying with Git

justspamjustin

I followed the instructions in the Ruby on Rails Setup as The Mini John referenced and it worked. They use Phusion Passenger to allow you to deploy any rack based application. However, I did have to manually install my gem dependencies. This is probably not a scalable solution for a production application with many users. However, if you already have bluehost as a hosting provider and are willing to maintain your own server and deal with possible latency issues and downtime, it may be worth it for you. Here is my Ruby on Rails 4.0 "Hello World" application deployed to bluehost: http://hello.getplanit.com.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!