We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699e23a commit 63fe532Copy full SHA for 63fe532
src/main/java/org/truffleruby/RubyLanguage.java
@@ -756,7 +756,9 @@ private TruffleFile searchRubyHome(Env env) {
756
if (truffleReported != null) {
757
var truffleReportedFile = env.getInternalTruffleFile(truffleReported);
758
try {
759
- truffleReportedFile = truffleReportedFile.getCanonicalFile();
+ if (truffleReportedFile.exists()) {
760
+ truffleReportedFile = truffleReportedFile.getCanonicalFile();
761
+ }
762
} catch (IOException e) {
763
throw CompilerDirectives.shouldNotReachHere(e);
764
}
0 commit comments