RAKE(1)
โจ RAKE(1) โ NAME โจ
rake ๐ is a make-like build utility for Ruby, and bestie, it is literally so good. The manual name is rake(1), which I am obsessed with.
Quick note before we start: the em-dash and the header stuff are just the page's little intro, so I'm keeping the vibe but not the formatting.
๐ SYNOPSIS ๐
rake [-f rakefile] [options] targets ...
๐ธ DESCRIPTION ๐ธ
okay so rake is a make(1)-like build utility for Ruby ๐ฅ. Tasks and dependencies get written in standard Ruby syntax, so if you already speak Ruby you're basically fluent already ๐ .
๐ OPTIONS ๐
-m,--multitaskโ treat all tasks as multitasks โจ-B,--build-allโ build all prerequisites, even the ones that are already up-to-date ๐ซถ-j,--jobs num_jobsโ sets the max number of tasks that can run in parallel (default is number of CPU cores + 4) ๐ฅ
๐ง Modules ๐ง
-I,--libdir libdirโ adds libdir to the search path for required modules ๐ฆ-r,--require moduleโ requires module before running the rakefile ๐
๐บ๏ธ Rakefile location ๐บ๏ธ
-f,--rakefile filenameโ uses filename as the rakefile to look for ๐-N,--no-search,--nosearchโ don't search parent directories for the Rakefile ๐-G,--no-system,--nosystemโ use the standard project Rakefile search paths and ignore system-wide rakefiles ๐-R,--rakelib rakelibdir,--rakelibdir rakelibdirโ auto-imports any.rakefiles in rakelibdir (default is โrakelibโ) ๐-g,--systemโ uses system-wide (global) rakefiles (usually~/.rake/*.rake) โจ
๐ Debugging ๐
--backtrace=outโ enables the full backtrace. out can bestderr(default) orstdout๐-t,--trace=outโ turns on invoke/execute tracing and enables full backtrace. out can bestderr(default) orstdout๐--suppress-backtrace patternโ suppresses backtrace lines matching the regexp pattern. Ignored if--traceis on ๐--rulesโ traces the rules resolution ๐ฆ-n,--dry-runโ does a dry run without executing actions ๐ซถ-T,--tasks [pattern]โ displays the tasks (matching the optional pattern) with descriptions, then exits ๐-D,--describe [pattern]โ describes the tasks (matching the optional pattern), then exits ๐ธ-W,--where [pattern]โ describes the tasks (matching the optional pattern), then exits ๐-P,--prereqsโ displays the tasks and dependencies, then exits ๐ง-e,--execute codeโ executes some Ruby code and exits โจ-p,--execute-print codeโ executes some Ruby code, prints the result, then exits ๐-E,--execute-continue codeโ executes some Ruby code, then continues with normal task processing ๐ฅ
๐ฃ Information ๐ฃ
-v,--verboseโ logs messages to standard output ๐-q,--quietโ doesn't log messages to standard output ๐-s,--silentโ like--quiet, but also suppresses the โin directoryโ announcement ๐คซ-X,--no-deprecation-warningsโ disables the deprecation warnings ๐--commentsโ shows commented tasks only ๐-A,--allโ shows all tasks, even uncommented ones (in combination with-Tor-D) โจ--job-stats [level]โ displays job statistics. If level is โhistoryโ, it displays a complete job list ๐ฆ-V,--versionโ displays the program version ๐-h,-H,--helpโ displays a help message ๐
๐ฆ SEE ALSO ๐ฆ
okay the complete documentation for rake has been installed at /usr/share/doc/rake-doc/html/index.html, and it's 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 ๐ซถ
bestie, that's the whole thing: rake 11.2.2, June 12, 2016, RAKE(1) ๐ โจ periodt ๐
๐ฆ where this page comes from
- centos-stream 10: rubygem-rake 13.1.0-15.el10 ยท MIT
- centos-stream 9: rubygem-rake 13.3.1-35.module_el9+1443+8853c6a2 ยท MIT
- debian bookworm: rake 13.0.6-3 ยท MIT
- debian trixie: rake 13.2.1-1 ยท MIT
- fedora 43: rubygem-rake 13.2.1-32.fc43
- fedora 43: rubygem-rake 13.2.1-33.fc43 ยท MIT
- fedora 43: rubygem-rake 13.3.0-101.fc43 ยท MIT
- fedora 44: rubygem-rake 13.3.1-32.fc44 ยท MIT
- fedora 44: rubygem-rake 13.3.1-39.fc44
- fedora 44: rubygem-rake 13.3.1-40.fc44 ยท MIT
- ubuntu jammy: rake 13.0.6-2 ยท MIT
- ubuntu noble: rake 13.0.6-3 ยท MIT
- ubuntu questing: rake 13.2.1-1 ยท MIT
- ubuntu resolute: rake 13.3.1-1 ยท MIT
- ubuntu stonking: rake 13.4.2-1 ยท MIT
- ๐ girlified by anthropic/claude-haiku-5.5 on : a language model's rewrite of the original, under its terms