Foreman unable to find PG gem

How did you install Foreman? In any case, it's probably not going to use
your system pg gem, and it needs to be installed by bundler in foreman's
vendor subdirectory. (Or the relevant rpm/deb if you installed from

Please let us know how you installed and we can give you further


··· On Tue, Dec 18, 2012 at 2:30 PM, Zane Williamson wrote:

/etc/init.d/foreman start
Starting foreman: Libvirt binding are missing - hypervisor management is
warning: already initialized constant ENC_NONE
warning: already initialized constant ENC_EUC
warning: already initialized constant ENC_SJIS
warning: already initialized constant ENC_UTF8
`require’: no such file to load – pg (LoadError)

gem list pg

*** LOCAL GEMS ***

pg (0.14.1)

I used this to install pg — gem install pg
–with-pg-config=/usr/pgsql-9.1/bin/pg_config It appeared to install fine.

Any suggestions?

Thanks in advance!


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at