# Rake::Application#run question

**URL:** <https://www.ruby-forum.com/t/rake-application-run-question/108162>\
**Category:** Ruby\
**Created:** [June 29, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/rake-application-run-question/108162 "2007-06-29T14:58:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gendag](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/f04885/32.png) [@gendag](https://www.ruby-forum.com/u/gendag)\
**Post date:** [June 29, 2007, 2:58pm UTC](https://www.ruby-forum.com/t/rake-application-run-question/108162/1 "2007-06-29T14:58:27Z")

</div>

Hi all,

I can’t figure out what this means (taken from rake rdoc documentation):

Rake::Application#run()

Run the Rake application. The run method performs the following three  
steps:

- Initialize the command line options (init).
- Define the tasks (load\_rakefile).
- Run the top level tasks (run\_tasks).

If you wish to build a custom rake command, you should call init on your  
application. The define any tasks. Finally, call top\_level to run your  
top level tasks.

In which way I can build a custom rake command?

p.s.

Sorry if OT but I can’t post message to the rake-devel ml after  
subscribing… ☹

Thanks.  
Andrea
