# rake - make-like build utility for Ruby - man(1) - [phpMan]

> **TLDR:** A Make-like program for Ruby.
>
- Run the `default` Rakefile task:
  `rake`
- Run a specific task:
  `rake {{task}}`
- Execute `n` jobs at a time in parallel (number of CPU cores + 4 by default):
  `rake --jobs {{n}}`
- Use a specific Rakefile:
  `rake --rakefile {{path/to/Rakefile}}`
- Execute `rake` from another directory:
  `rake --directory {{path/to/directory}}`

*Source: tldr-pages*

---

[_RAKE_(1)](https://www.chedong.com/phpMan.php/man/RAKE/1/markdown)                                General Commands Manual                               [_RAKE_(1)](https://www.chedong.com/phpMan.php/man/RAKE/1/markdown)

## NAME
       rake — make-like build utility for Ruby

## SYNOPSIS
       **rake **[**-f _**rakefile_] [_options_] _targets_ _..._

## DESCRIPTION
       **rake **is a [_make_(1)](https://www.chedong.com/phpMan.php/man/make/1/markdown)-like build utility for Ruby.  Tasks and dependencies are specified in stan‐
       dard Ruby syntax.

## OPTIONS
### -m --multitask
               Treat all tasks as multitasks.

### -B --build-all
               Build all prerequisites, including those which are up-to-date.

### -j --jobs _
               Specifies  the  maximum  number of tasks to execute in parallel (default is number of
               CPU cores + 4).

### Modules
### -I --libdir _
               Include _libdir_ in the search path for required modules.

### -r --require _
               Require _module_ before executing _rakefile_.

### Rakefile location
### -f --rakefile _
               Use _filename_ as the rakefile to search for.

### -N --no-search --nosearch
               Do not search parent directories for the Rakefile.

### -G --no-system --nosystem
               Use standard project Rakefile search paths, ignore system wide rakefiles.

### -R --rakelib _ --rakelibdir _
               Auto-import any .rake files in _rakelibdir_ (default is ‘rakelib’)

### -g --system
               Use system-wide (global) rakefiles (usually _~/.rake/*.rake_).

### Debugging
       **--backtrace**=_out_
               Enable full backtrace.  _out_ can be stderr (default) or stdout.

### -t --trace
               Turn on invoke/execute tracing, enable full backtrace.  _out_ can be  stderr  (default)
               or stdout.

       **--suppress-backtrace _**pattern_
               Suppress backtrace lines matching regexp _pattern_.  Ignored if **--trace **is on.

### --rules
               Trace the rules resolution.

### -n --dry-run
               Do a dry run without executing actions.

### -T --tasks 
               Display the tasks (matching optional _pattern_) with descriptions, then exit.

### -D --describe 
               Describe the tasks (matching optional _pattern_), then exit.

### -W --where 
               Describe the tasks (matching optional _pattern_), then exit.

### -P --prereqs
               Display the tasks and dependencies, then exit.

### -e --execute _
               Execute some Ruby code and exit.

### -p --execute-print _
               Execute some Ruby code, print the result, then exit.

### -E --execute-continue _
               Execute some Ruby code, then continue with normal task processing.

### Information
### -v --verbose
               Log message to standard output.

### -q --quiet
               Do not log messages to standard output.

### -s --silent
               Like **--quiet**, but also suppresses the ‘in directory’ announcement.

### -X --no-deprecation-warnings
               Disable the deprecation warnings.

### --comments
               Show commented tasks only

### -A --all
               Show all tasks, even uncommented ones (in combination with **-T **or **-D**)

       **--job-stats **[_level_]
               Display job statistics.  If _level_ is ‘history’, displays a complete job list.

### -V --version
               Display the program version.

### -h -H --help
               Display a help message.

## SEE ALSO
       The      complete      documentation      for      **rake     **has     been     installed     at
       _/usr/share/doc/rake-doc/html/index.html_.     It    is    also     available     online     at
       <https://ruby.github.io/rake>.

## AUTHORS
       **rake **was written by Jim Weirich <<_jim@weirichhouse.org_>>.

       This manual was created by Caitlin Matos <<_caitlin.matos@zoho.com_>> for the Debian project (but
       may  be  used by others).  It was inspired by the manual by Jani Monoses <<_jani@iv.ro_>> for the
       Ubuntu project.

rake 11.2.2                                 June 12, 2016                                    [_RAKE_(1)](https://www.chedong.com/phpMan.php/man/RAKE/1/markdown)
