bin/riemann-babbler in riemann-babbler-1.0.8.8 vs bin/riemann-babbler in riemann-babbler-1.1.0pre2
- old
+ new
@@ -1,13 +1,12 @@
#!/usr/bin/env ruby
-# coding: utf-8
+#encoding: utf-8
require 'trollop'
require 'configatron'
-$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
-require 'riemann/babbler/version'
-require 'riemann/babbler/start'
+require File.expand_path('../../lib/riemann/version', __FILE__)
+require File.expand_path('../../lib/start', __FILE__)
opts = Trollop::options do
version "Riemann babbler #{Riemann::Babbler::VERSION}"
banner <<-EOS
Riemann-babbler is plugin manager for riemann-tools.