What is the purpose of the rakefile available in the demo directory in Ruby?

Technology CommunityCategory: Ruby on RailsWhat is the purpose of the rakefile available in the demo directory in Ruby?
VietMX Staff asked 3 years ago

The purpose of this simple question is to make sure a developer is familiar with a test-driven development. A beginner may not have dealt with this file yet. The rakefile is similar to the makefile in Unix, and assists with packaging and testing Rails code. It’s used by the rake utility, which ships natively with the Ruby installation.