problem installing gem for postgresql
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.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Eric Hodel on 02 Jan, 2011 12:16 AM
This is a bug with pg, not RubyGems.
Eric Hodel closed this discussion on 02 Jan, 2011 12:16 AM.