added cache.rb to gem