gem statement must come before require

the gem version specification needs to come before the require statement, otherwise it will fail if an additional newer version of fog is installed.