Ruby: How to install a specific version of a ruby gem? by Tarik Use the -v flag: $ gem install fog -v 1.8