I am using the ruby-gems from sipx. my distro does not appear to even have gems in it's repo.
I have these related directories /home/sipx/gems /home/sipx/sipx/lib/ruby-gems /home/sipx/libsrc/ruby-gems/ruby-gems-0.8.11-2.noarch.rpm /usr/lib/ruby/site_ruby/1.8/rubygems /usr/local/sipx/lib/ruby/gems/1.8/gems [EMAIL PROTECTED] ruby-gems]# ls -1 /usr/lib/ruby/gems/1.8/gems hoe-1.8.2 pg-0.7.9.2008.10.13 postgres-0.7.9.2008.01.28 rake-0.8.3 rdoc-2.2.1 rubyforge-1.0.1 ruby-pg-0.7.9.2008.01.28 ruby-postgres-0.7.1.2006.04.06 sources-0.0.1 Melcon Moraes wrote: > 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 >> [email protected] >> List Archive: http://list.sipfoundry.org/archive/sipx-users >> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users >> >> _______________________________________________ sipx-users mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-users Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-users
