lib/heartbeat-client.rb in heartbeat-client-0.1.3 vs lib/heartbeat-client.rb in heartbeat-client-0.1.4
- old
+ new
@@ -1,9 +1,9 @@
require 'rubygems'
gem 'httparty'
require 'httparty'
require 'logger'
-require "sys/cpu"
+require "sys/cpu" rescue nil
require 'pp'
class Heartbeat
include Sys
include HTTParty