Reputation: 1587
I saw this question What is the purpose of Rake? but I still don't get it.
Why can't you just create a Ruby script in a file and run ruby myscript.rb
?
What does using a Rake task let you do that regular ol' Ruby doesn't?
Upvotes: 2
Views: 562
Reputation:
A few reasons. Rake has the following benefits:
A library of prepackaged tasks to make building rakefiles easier. For example, tasks for building tarballs and publishing to FTP or SSH sites. (Formerly tasks for building RDoc and Gems were included in rake but they're now available in RDoc and RubyGems respectively.)
Supports parallel execution of tasks.
Upvotes: 1