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

Applying multitasks in practice

Every Ruby developer knows about the bundler gem: the tool used to manage the gem dependencies in the projects. It is based on Rake's ideas and its usage is rather simple. You write to Gemfile the list of the gems that are required by the application and then just inform the bundler to install them with command prompt.

In the old versions, the bundler would download the gems from the Internet and sequentially install them one by one to a system. The main disadvantage of this process was that it was too long and would take a lot of time. The resulting time was dependent on the connection speed of the Internet, the number of dependent gems, and many other factors.

However, life goes ahead and the current bundler's release (Version 1.5.0) is able to install the gems in parallel. The resulting time of the installation process is decreased by a huge amount. This is a real-life example from where multitasks can be applied. With the new version of bundler, you can...