bin/zabbix-cloudwatch in zabbix-cloudwatch-0.0.2 vs bin/zabbix-cloudwatch in zabbix-cloudwatch-0.0.3
- old
+ new
@@ -1,10 +1,14 @@
#!/usr/bin/env ruby
-require 'rubygems'
-require 'bundler/setup'
-require 'getopt/long'
-require 'zabbix-cloudwatch'
+begin
+ require 'zabbix-cloudwatch'
+ require 'getopt/long'
+rescue
+ require 'rubygems'
+ require 'zabbix-cloudwatch'
+ require 'getopt/long'
+end
@@aws_access_key=''
@@aws_secret_key=''
@@aws_region=''