I'm not sure but, AFAIR for 3.10 you have to use ruby-gems package from sipX repository instead of rubygems package from your distro's repo.
Which package are you using? - MM On Tue, Nov 4, 2008 at 8:04 PM, Chris St Denis <[EMAIL PROTECTED]> wrote: > I have installed sipx 3.10 on rhel and I am having problems with the > callresolver not loading failing on loading the pg driver. > > I have installed ruby-postgres from source, and have even tried installing > various gems so it should be there. > > /usr/lib/ruby/gems/1.8/gems/pg-0.7.9.2008.10.13 > /usr/lib/ruby/gems/1.8/gems/ruby-pg-0.7.9.2008.01.28 > /usr/lib/ruby/gems/1.8/gems/postgres-0.7.9.2008.01.28 > /usr/share/doc/ruby-postgres-0.7.1 > > However the call resolver can't seem to find it > > "2008-11-04T13:53:10.274763 ":ERR:Problems with DB connection. > "2008-11-04T13:53:10.274934 ":ERR:Exiting because of error: <Unable to load > driver 'Pg'> > "2008-11-04T13:53:10.275082 ":ERR: > /usr/lib/ruby/site_ruby/1.8/dbi.rb:352:in `load_driver' > /usr/lib/ruby/1.8/monitor.rb:238:in `synchronize' > /usr/lib/ruby/site_ruby/1.8/dbi.rb:282:in `load_driver' > /usr/lib/ruby/site_ruby/1.8/dbi.rb:233:in `_get_full_driver' > /usr/lib/ruby/site_ruby/1.8/dbi.rb:219:in `connect' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/db/dao.rb:43:in > `connect' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/db/dao.rb:48:in > `test_connection' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/call_resolver.rb:44:in > `check_connections' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/call_resolver.rb:44:in > `each' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/call_resolver.rb:44:in > `check_connections' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/main.rb:108:in > `main' > /usr/local/sipx/lib/ruby/gems/1.8/gems/sipxcallresolver-2.0.0/lib/main.rb:127 > > > _______________________________________________ > sipx-users mailing list > sipx-users@list.sipfoundry.org > List Archive: http://list.sipfoundry.org/archive/sipx-users > Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users > _______________________________________________ sipx-users mailing list sipx-users@list.sipfoundry.org List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users