Ruby – Heroku

May 2nd, 2010

When I started looking into Ruby more seriously I wanted to have an actual hosting provider that would host the site that I am working on. A friend of mine recommended me to look into Heroku and I have to say that I am very happy that he did.

Heroku offers a unique way of deploying your Ruby web applications, you push them!

git push heroku master

Even do it is the first thing you see when visiting the site I still want to walk you through the process of setting up Heroku and deploying your Ruby application.

  1. $ sudo gem install heroku
  2. $ heroku create <your application name>
  3. $ git push heroku master
  4. $ open http://<your application name>.heroku.com/

Oh did I mention yet that the initial plan is free? Free as in you don’t have to pay anything! Of course when your application starts to attract visitors and you need more performance then you will need to start paying. But you have full control over this and I believe you can push it pretty far.

There are also many addons that you can enable (for some you need to pay for some not) providing a lot of functionality.

Now this looks like a commercial, but until someone told me about it I didn’t know, so now I am telling you. If you are doing some playing around or are actually working on a serious project. If it is in Ruby then this is worth checking out.

They are also offering some beta Node.js support!

More Ruby and other web stuff coming soon!

Mark Nijhof

  • Mihai Lazar

    Thanks!

    Glad you’re blogging again.

  • http://erikzaadi.com Erik

    Awesome!

    I had now idea they were free.

    The git push thing is simple great..

    Thanks for sharing!

  • http://tobinharris.com Tobin Harris

    I totally second this. I’ve been using Heroku for about 2 years now, and I LOVE it. In fact, it’s our default choice of hosting for 99% of apps. Their support is very good too, and they’re always up for discussing how to improve their service (in fact, I originally wanted to host yUML with Heroku, and we had some very active forum discussion about they could help that happen).

    Note that Heroku has tradeoffs, but usually these can lead to fairly elegant designs. You can only use database for storage, not the disk, so you’ll probably want to lean on Amazon S3 for any run-time file-storage. Also, your app floats between servers depending on capacity, so there’s no fixed IP which can cause problems with some eCommerce gateways.

blog comments powered by Disqus