Update Rakefile, Gemfile.lock, and implement caching of results