@vercel/ruby 1.2.8-canary.5 → 1.2.8-canary.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +9 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -8840,12 +8840,20 @@ function getRubyPath(meta, gemfileContents) {
|
|
|
8840
8840
|
// process.env.GEM_HOME), and returns
|
|
8841
8841
|
// the absolute path to it
|
|
8842
8842
|
async function installBundler(meta, gemfileContents) {
|
|
8843
|
+
const { gemHome, rubyPath, gemPath, vendorPath, runtime } = getRubyPath(meta, gemfileContents);
|
|
8843
8844
|
// If the new File System API is used (`avoidTopLevelInstall`), the Install Command
|
|
8844
8845
|
// will have already installed the dependencies, so we don't need to do it again.
|
|
8845
8846
|
if (meta.avoidTopLevelInstall) {
|
|
8846
8847
|
build_utils_1.debug(`Skipping bundler installation, already installed by Install Command`);
|
|
8848
|
+
return {
|
|
8849
|
+
gemHome,
|
|
8850
|
+
rubyPath,
|
|
8851
|
+
gemPath,
|
|
8852
|
+
vendorPath,
|
|
8853
|
+
runtime,
|
|
8854
|
+
bundlerPath: path_1.join(gemHome, 'bin', 'bundler'),
|
|
8855
|
+
};
|
|
8847
8856
|
}
|
|
8848
|
-
const { gemHome, rubyPath, gemPath, vendorPath, runtime } = getRubyPath(meta, gemfileContents);
|
|
8849
8857
|
build_utils_1.debug('installing bundler...');
|
|
8850
8858
|
await execa_1.default(gemPath, ['install', 'bundler', '--no-document'], {
|
|
8851
8859
|
stdio: 'pipe',
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/ruby",
|
|
3
3
|
"author": "Nathan Cahill <nathan@nathancahill.com>",
|
|
4
|
-
"version": "1.2.8-canary.
|
|
4
|
+
"version": "1.2.8-canary.6",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index",
|
|
7
7
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/ruby",
|
|
@@ -28,5 +28,5 @@
|
|
|
28
28
|
"semver": "6.1.1",
|
|
29
29
|
"typescript": "4.3.4"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "792ab38760eca4543a7ac02dd05eda280b5328a1"
|
|
32
32
|
}
|