Skip to content


Subversion checkout URL

You can clone with
Download ZIP
A Gem skeleton maker, with rspec setup
Latest commit ebae840 @ywen Improvement
- Remove cane, simplecov etc.
- Upgrade to ruby 2.2.3
Failed to load latest commit information.
bin Initial commits
lib Improvement
.gitignore Adapt to the new things
.ruby-version Fix Thor undefined bug
Gemfile Initial commits
LICENSE Initial commits Improvement
Rakefile Initial commits
gem_skeleton.gemspec Improvement


This gem provide a command for making a rubygem skeleton.

It basically copied from bundle gem code and add some more templates and here is extra file list:

  • .ruby-version(which is ignored in .gitignore)
  • .ruby-version.template
  • .gemspec file: This is not new, But I add rspec related gems:
    • rspec
  • Guardfile, containing the rspec configurations
  • spec/spec_helper.rb
  • tasks/rspec.rb - the rspec task file
  • tasks/ci.rb - the tasks for running ci task on a continuous integration server
  • .rspec - rspec confiuration file


Add this line to your application's Gemfile:

gem 'gem_skeleton'

And then execute:

$ bundle

Or install it yourself as:

$ gem install gem_skeleton


$ gem_skeleton make your-gem-name


  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.