Mr Bones - 1.2.0

Mr Bones
by Tim P.


You can now freeze the default Mr Bones project skeleton and add your
own modifications, files, rake tasks, etc. When you use the “bones”
command to create a new project, this custom project skeleton will be
used (instead of the default Mr Bones project skeleton).

Please see the Mr Bones manual for more information.


Mr Bones is a handy tool that builds a skeleton for your new Ruby
The skeleton contains some starter code and a collection of rake tasks
ease the management and deployment of your source code. Mr Bones is not
viral – all the code your project needs is included in the skeleton (no
gem dependency required).


Mr Bones provides the following rake tasks:

clobber # Remove all build products
doc # Alias to doc:rdoc
doc:rdoc # Build the rdoc HTML Files
doc:release # Publish RDoc to RubyForge
doc:rerdoc # Force a rebuild of the RDOC files
doc:ri # Generate ri locally for testing
gem # Alias to gem:package
gem:debug # Show information about the gem
gem:gem # Build the gem file bones-1.2.0.gem
gem:install # Install the gem
gem:package # Build all the packages
gem:release # Package and upload to RubyForge
gem:repackage # Force a rebuild of the package files
gem:uninstall # Uninstall the gem
manifest:check # Verify the manifest
manifest:create # Create a new manifest
notes # Enumerate all annotations
notes:fixme # Enumerate all FIXME annotations
notes:optimize # Enumerate all OPTIMIZE annotations
notes:todo # Enumerate all TODO annotations
spec # Alias to spec:run
spec:rcov # Run all specs with RCov
spec:run # Run all specs with basic output
spec:specdoc # Run all specs with text output
test # Alias to test:run
test:rcov # Run rcov on the unit tests
test:run # Run tests for run

The rake tasks in the Mr Bones framework can be found in the “tasks”
directory. Add your own tasks there when you need more functionality.


To create a new “Get Fuzzy” project:

bones get_fuzzy

If a new release of Mr Bones comes out with better features the “Get
project will need to be updated:

bones --update get_fuzzy

And if you ever get confused about what Mr Bones can do:

bones --help


Mr Bones does not have any “requirements”, but if you do not have the
following gems installed you will not get all that Mr Bones has to

  • rubyforge - for easy gem publishing to
  • rcov - for code coverage testing
  • rspec - if that’s the way you roll


  • sudo gem install bones

See the Mr Bones webpage for more information and a little manual.