problem installing gem for postgresql

Jim's Avatar

Jim

01 Jan, 2011 08:01 PM

When I run the command: "gem install pg" to try to install the gem for postgresql on windows 7, I see the following issue.

extconf.rb:33:in ``': No such file or directory - C:\Program Files (x86)\Postgre
SQL\8.4\bin/pg_config.exe --cflags (Errno::ENOENT)

    from extconf.rb:33:in `<main>'

It's worth noting that the path and exe list in the error above actually do exist, although I find the backslash/forwardslash syntax a little weird. I'm also running my command prompt as an adminstrator, so security shouldn't be an issue?

I'm new to ruby, rails, and gems - any help would be appreciated. I'm trying to learn RoR, but not being able to connect to my database (Postgresql) is holding me back.

  1. Support Staff 2 Posted by Eric Hodel on 02 Jan, 2011 12:16 AM

    Eric Hodel's Avatar

    This is a bug with pg, not RubyGems.

  2. Eric Hodel closed this discussion on 02 Jan, 2011 12:16 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

29 Aug, 2014 06:23 PM
28 Aug, 2014 07:18 PM
27 Aug, 2014 12:03 PM
26 Aug, 2014 07:09 PM
26 Aug, 2014 07:07 PM