@vercel/static-build 2.5.3 → 2.5.4
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27587,7 +27587,7 @@ var build = async ({
|
|
|
27587
27587
|
["-e", 'print "#{ RUBY_VERSION }"'],
|
|
27588
27588
|
{ encoding: "utf8" }
|
|
27589
27589
|
);
|
|
27590
|
-
if (rubyVersion) {
|
|
27590
|
+
if (rubyVersion.status === 0 && typeof rubyVersion.stdout === "string") {
|
|
27591
27591
|
gemHome = import_path6.default.join(dir, rubyVersion.stdout.trim());
|
|
27592
27592
|
(0, import_build_utils4.debug)(`Set GEM_HOME="${gemHome}" because a Gemfile was found`);
|
|
27593
27593
|
}
|