#!/bin/env ruby

require_relative '/var/www/miq/vmdb/gems/pending/bundler_setup'
require 'postgres_ha_admin/failover_monitor'

monitor = PostgresHaAdmin::FailoverMonitor.new
monitor.monitor_loop

#!/bin/env ruby

require 'manageiq-gems-pending'
require 'postgres_ha_admin/failover_monitor'

monitor = PostgresHaAdmin::FailoverMonitor.new
monitor.monitor_loop

Use manageiq-gems-pending gem instead of require_relative
Use manageiq-gems-pending gem instead of require_relative

The gems-pending code was moved into a gem, so we cannot use a path
to require the bundler environment anymore.

Requiring the gem directly gives us the same effect.
