begin require File.join(File.dirname(__FILE__), 'lib', 'gmail') # From here rescue LoadError require 'gmail' # From gem end