Upgrade task for gem version 4.0

I started creating a document with upgrade steps to version 4.0, but then I realized it's easier to just create a capistrano task.