Skip to content

Commit

Permalink
fix: Support gem version 2.X
Browse files Browse the repository at this point in the history
  • Loading branch information
rylanc committed Jun 25, 2020
1 parent 96df1bb commit 6bb8e3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const bundleInstall = async ({ updateGemfileLock, cwd, env, logger, stdout, stde
const buildGem = async ({ gemspec, gemName, version, cwd, env, logger, stdout, stderr }) => {
const gemFile = `${gemName}-${version}.gem`;
logger.log('Building gem `%s`', gemFile);
const buildResult = execa('gem', ['build', gemspec, '-o', gemFile], { cwd, env });
const buildResult = execa('gem', ['build', gemspec], { cwd, env });
buildResult.stdout.pipe(stdout, { end: false });
buildResult.stderr.pipe(stderr, { end: false });
await buildResult;
Expand Down

0 comments on commit 6bb8e3d

Please sign in to comment.