Add Rakefile and update Gemfile.lock