Install gem install gem-init Usage mkdir my_awesome_gem cd my_awesome_gem gem init my_awesome_gem If the gem already exists on rubygems.org it will stop and let you know. Use the -s option to skip the check.