Installing Postgres gem on Windows

So you’re trying to install the postgres gem for ruby on rails, but you’re getting the following message;

Could not find PostgreSQL build environment (libraries & headers): Makefile not created

This is most likely due to the fact that you’re not using the mswin32 gem for Ruby.

Give this a whirl;

gem install ruby-postgres

Leave a Reply

You must be logged in to post a comment.