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
packages.)

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

Cheers,
Brian

··· 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
disabled
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:10:
warning: already initialized constant ENC_NONE
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:11:
warning: already initialized constant ENC_EUC
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:12:
warning: already initialized constant ENC_SJIS
/usr/lib/ruby/gems/1.8/gems/ruby_parser-2.3.1/lib/ruby_parser_extras.rb:13:
warning: already initialized constant ENC_UTF8
/usr/lib/ruby/gems/1.8/gems/activesupport-3.0.15/lib/active_support/dependencies.rb:242:in
`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!

-Zane


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/foreman-users/-/p4_v0d92sEEJ.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.


http://aws.amazon.com/solutions/solution-providers/brandorr/