update to work with mavericks (ruby 2)

- problem with setting data gateway as a global in sinatra script with
  upgrade. The global var still is set, but the connection returns an
  IO error.. Couldn't find out why this was happening
enriches on null years for page views