Book Image

Rake Task Management Essentials

By : Andrey Koleshko
Book Image

Rake Task Management Essentials

By: Andrey Koleshko

Overview of this book

Table of Contents (18 chapters)
Rake Task Management Essentials
About the Author
About the Reviewers

Examples of Rake being used by famous gems

Currently, Rake is used by the Ruby community in general. The most frequent application of Rake is to automate running tests and generating the project documentation. There are tons of gems that use Rake for these purposes. You may choose to trust me or check it out yourself by visiting In this chapter, we will examine a Sinatra gem that is more suitable for us. It uses Rake for both these tasks: running tests and generating documentation.


Sinatra is a lightweight framework that allows us to create web applications with minimum effort. To read more about this, check out the official documentation at

There is one more interesting application of Rake. Some tools inherit the basic classes of Rake and in this way, extend the functionality and the DSL for their needs. One of the most famous tools that use Rake like this is Capistrano. It's a deployment tool that has been rewritten recently from pure Ruby...