update ruby gem to specific version code example Example: gem install version $ gem install fog -v 1.8