rake icon indicating copy to clipboard operation
rake copied to clipboard

A make-like build utility for Ruby.

Results 96 rake issues
Sort by recently updated
recently updated
newest added

Given the task `foo`, which uses the `sh` helper with `Process.spawn`-style options: ```ruby task "foo" do sh({ "FOO" => "BAR" }, "ls manuscript/*.md", out: "mdlist.txt") end ``` Currently, running this...

This is an attempt to fix the issue https://github.com/ruby/rake/issues/392. It makes verbose option works when passing -v and --verbose options. The tests are being done with a simple Rakefile. ```...

`--dry-run` sets both `nowrite(false)` and `options.dry_run = true`. The thing is, so long as `options.dry_run == true`, [Task execution short-circuits](https://github.com/ruby/rake/blob/b6e2a66689e7ac2f39597283dc2276bd082fa279/lib/rake/task.rb#L274) before it ever gets to execute any FileUtils methods. So...

Hi, I was looking for a way to set default rake options (i.e. -jN), and and discovered RAKEOPT by grepping the sources. It would be nice if that was documented,...

When a file task depends on some non-file task indirectly, Rake executes the file task even if its immediate prerequisite files have older timestamp. It looks like the behavior changed...

I have a use-case in which I need to run a task if and only if at least one of its prerequisite tasks either (1) currently needs to run or...

Hi, I had too many rake tasks in the project. Need to find whether the rake execution is success or not. I have used rakefile, it will helps for the...

1. Asking for a setting option is less expensive than tree transversal on dependant tasks. 2. `out_of_date?` should care about "date" concepts, and not concerning about "build_all" option. Reordering allows...

This line: https://github.com/ruby/rake/blob/86d7ad9b7bdc621945ba1c3fcba071167fc7301d/lib/rake/application.rb#L395 is causing this error when running against Ruby 3.2 or head ``` Run bundle exec rake test rake aborted! NoMethodError: undefined method `=~' for # /opt/hostedtoolcache/Ruby/3.2.0-preview1/x64/bin/bundle:25:in `load'...

I have a Rakefile with the `report` task defined. There are no FileTasks in my Rakefile. I also have a `reports` dir at my project toplevel. If I run `rake...