[ruby] Remove VERCEL_ALLOW_RUBY32 env var check (#10910)

This commit is contained in:
Nathan Rajlich
2023-12-06 17:28:17 -08:00
committed by GitHub
parent 1dbb22bb6d
commit 3cede43ca7
2 changed files with 6 additions and 6 deletions

View File

@@ -9,6 +9,7 @@ interface RubyVersion extends NodeVersion {
function getOptions() {
const options = [
{ major: 3, minor: 2, range: '3.2.x', runtime: 'ruby3.2' },
{
major: 2,
minor: 7,
@@ -24,12 +25,6 @@ function getOptions() {
discontinueDate: new Date('2021-11-30'),
},
] as const;
if (process.env.VERCEL_ALLOW_RUBY32 === '1') {
return [
{ major: 3, minor: 2, range: '3.2.x', runtime: 'ruby3.2' },
...options,
] as const;
}
return options;
}