Re: [gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-10 Thread Sam James
Hans de Graaff writes: > [[PGP Signed Part:Undecided]] > On Fri, 2023-04-07 at 11:14 +0100, Sam James wrote: >> This might prevent an ebuild installing no files, but the main aim >> here is >> to give a better error message earlier on rather than the classic >> "Unable to generate gemspec

Re: [gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-10 Thread Hans de Graaff
On Fri, 2023-04-07 at 11:14 +0100, Sam James wrote: > This might prevent an ebuild installing no files, but the main aim > here is > to give a better error message earlier on rather than the classic > "Unable to generate gemspec file". Looks good to me. Better to error out as fast as possible

[gentoo-dev] [PATCH 1/2] ruby-ng.eclass: error out earlier if RUBY is unset

2023-04-07 Thread Sam James
This might prevent an ebuild installing no files, but the main aim here is to give a better error message earlier on rather than the classic "Unable to generate gemspec file". The output looks like: ``` * Failed to determine a path for ${RUBY} for USE=ruby_targets_ruby31: *