Friday, March 22, 2013

Install Heroku toolbelt on Ubuntu

Now a days, Heroku is most successful cloud service. It's all add-on and features are too cool.
To work with Heroku from command line, we need to use Heroku Toolbelt. But some times installing toolbelt on Ubuntu creates problem. So, Here is very simple solution for that.

               wget -q0- http://toolbelt.heroku.com/install-ubuntu.sh | sh


Then run heroku login from terminal. Most probably it works. but if it doesn't works then follow below steps:

              sudo ln -s /usr/local/heroku/bin/heroku   /usr/bin/heroku

And then if you get Error: /usr/bin/env: ruby: No such file or directory. Then install ruby on your computer. Then it'll start working properly.