instal;l a specific version of gem code example Example: gem install version $ gem install fog -v 1.8