Installing PostgreSQL for use with Ruby in Windows

This was quite simple.  Download PostgreSQL from here and install.  Note that the installation (the last 1%, of course!) really does take several minutes.  Like, 10-15 minutes!

Once installed, use the Postgres3 application (similar to SQL Server Management Studio) to create your database, user, and user roles.

If you don’t have the pg gem installed (check using “gem list –local” from the console), run “gem install pg” (also from the console window.)

The documentation for pg can be found here.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s