Skip to content

🎥 Make videos programmatically with React

Update ruby-package.test.ts

Jonny Burger7d2c821b9e1a
diff --git a/packages/it-tests/src/monorepo/ruby-package.test.ts b/packages/it-tests/src/monorepo/ruby-package.test.ts
index b5f96ccdb9..2bf9bcff22 100644
--- a/packages/it-tests/src/monorepo/ruby-package.test.ts
+++ b/packages/it-tests/src/monorepo/ruby-package.test.ts
@@ -1,5 +1,5 @@
import {LambdaInternals} from '@remotion/lambda';
-import {expect, test} from 'bun:test';
+import {beforeAll, expect, test} from 'bun:test';
import {execSync} from 'child_process';
import fs from 'fs';
import path from 'path';
@@ -11,6 +11,13 @@ test('Set the right version for Ruby in version.rb', () => {
fs.writeFileSync(versionPath, `VERSION = "${VERSION}"`);
});
+
+beforeAll(() => {
+ execSync('bundle install', {
+ cwd: rubySdk,
+ });
+});
+
test('Set the right version for Ruby in remotion_lambda.gemspec', () => {
const gemspecPath = path.join(rubySdk, 'remotion_lambda.gemspec');