An Easy Website Host to Deploy Your Ruby On Rails App
If your looking for a cheap and cost effective solution for hosting your up and coming Rails app then you should head over to Heroku.com and check them out. It super easy to get you app up and running and what even better, they have a free tier!
Its similar to Amazon Web Services in which you pay to scale up you application. So when you site starts blowing up you can try expanding easily to support the traffic.
Getting your site deployed on Heroku is super simple. Sign up and follow the following step by step instructions:
http://devcenter.heroku.com/articles/rails3
Once you done with the setup, deploying to Heroku is as simple as “git push heroku master”!
Just as a heads up you might come across 2 problems when deploying to Heroku. The first is the fact the Heroku does not use SQLite3, instead they choose to use Postgres. This could lead to some problem during the deployment to Heroku so you can either make the switch to Postgres on your local machine or you can do the following in your gem file:
group :production do
gem ‘pg’
end
group :development, :test do
gem ‘sqlite3’
end
On your local machine run the development and on Heroku run in production and that should handle that.
The other issue you might encounter would be getting some weird gem errors during deployment. If this happens I recommend just calling the “heroku create” instead of “heroku create —stack cedar”. Last I read there were some compatibility issues on the cedar stack when deploying your rails app.