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

## Summary In the following `rake` command to compile a native extension with `rake-compiler` gem, where the extra options whose value (`--with-cflags='-Wundef -Werror'`) includes a space, in this case `-Wundef...

I was shocked to learn that `directory files.pathmap("%d")` doesn't work. ``` rake aborted! TypeError: no implicit conversion of Rake::FileList into String ``` Does this seem like a reasonable feature request?

Just noticed an issue with TestTask that it doesn't properly recognize the `-n` option as a shorthand of `--n` as documented: ``` $ bundle exec rake test TESTOPTS='--help' ... -n,...

Fixing: ``` C:/Ruby32-x64/lib/ruby/gems/3.2.0+3/gems/rake-13.0.6/lib/rake/backtrace.rb:21:in `collapse': undefined method `reject' for nil:NilClass (NoMethodError) backtrace.reject { |elem| elem =~ pattern } ^^^^^^^ from C:/Ruby32-x64/lib/ruby/gems/3.2.0+3/gems/rake-13.0.6/lib/rake/application.rb:249:in `display_exception_backtrace' from C:/Ruby32-x64/lib/ruby/gems/3.2.0+3/gems/rake-13.0.6/lib/rake/application.rb:218:in `display_exception_details' from C:/Ruby32-x64/lib/ruby/gems/3.2.0+3/gems/rake-13.0.6/lib/rake/application.rb:226:in `display_cause_details' from C:/Ruby32-x64/lib/ruby/gems/3.2.0+3/gems/rake-13.0.6/lib/rake/application.rb:219:in `display_exception_details'...

The ones added by #269. If you're adding that, then you probably want file tasks to ignore order-only dependencies? https://github.com/ruby/rake/blob/5c60da8644a9e4f655e819252e3b6ca77f42b7af/lib/rake/file_task.rb#L32-L41

Unset returns FileUtilsExt.verbose_flag which is set to Object.new by default, which is truthy. Compare against DEFAULT and return verbose_flag only if set. This is made extra confusing by the fact...

It would be nicer if this was a named class: ``` NoMethodError: undefined method `verbose' for an instance of # ``` vs something like: ``` NoMethodError: undefined method `verbose' for...

In containerized workloads, it's common to receive a `SIGTERM` signal when a pod or task is shutting down. Currently, when this occurs, the `rake` task throws a `SignalException` and returns...

Currently, it is not possible to tell from the output message whether that option is specified for `sh`.

``` Fetching rake 13.2.1 The gem rake-13.2.1 can't be installed because the security policy didn't allow it, with the message: unsigned gems are not allowed by the High Security policy...