Archive for 'Deployment'

`gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.) (LoadError)

If you see this error in your heroku logs “`gem install activerecord-postgresql-adapter` (pg is not part of the bundle. Add it to Gemfile.” Then you must add this to your production section of your Gemfile or create it if you don’t have one:

My Public DNS went Missing in my ec2 Instance

My Public DNS went missing in my Amazon ec2 Instance after I did the following: I set up an Elastic IP and associated it with the instance. I then disassociated and removed the Elastic IP. That’s when my Public DNS went missing! However, DON’T PANIC :) The solution is just to wait a few minutes […]

Deploy to EC2 with Rubber on Rails 3

Rubber is a gem which makes it easy to make multi-instance deployments of your rails app to EC2. It uses capistrano to do this. Before proceeding, make sure you have your EC2 account created and have a keypair set up with Amazon. Here is recipe of what I’ve done so far. I’m running into issues […]

Deploying a Rails App, with Git and Capistrano on BlueHost

Here I’ll make an attempt to describe how to create a rails app from scratch on your local machine, configure a private Git repository on BlueHost and use Capistrano to deploy the latest code from the private shared Git repository. Almost all of the steps below work, except I’m still unable to deploy the code […]