Isak wrote:
Hello,
I have two computers and in one I can install the gem as expected,
but in the other, I can't.The differences are that in the one that I can, I compiled&installed postgre myself, in the one that doesn't work, the installation has
been made with the the .dmg file from enterprisedbI think the swiches you need to add are --with-pgsql-include-dir
and -- with-pgsql-lib-dir. If the .dmg does indeed include the required headers and libraries, that is. You could also just go with the postgres-pr (pr for "pure ruby") gem if this isn't a production server.PS: It's "pg", "Postgres" or "PostgreSQL", not "Postgre".
thanks for the clarification. I don't know how to add those switches without getting an error.
gem install foo -- --with_something_dir=...
Fred