Skip to content

Instantly share code, notes, and snippets.

@yorickpeterse
Created October 16, 2014 19:17
Show Gist options
  • Save yorickpeterse/238b4918546bafdd134e to your computer and use it in GitHub Desktop.
Save yorickpeterse/238b4918546bafdd134e to your computer and use it in GitHub Desktop.
diff --git a/vm/environment.cpp b/vm/environment.cpp
index 9d36a65..e9430fd 100644
--- a/vm/environment.cpp
+++ b/vm/environment.cpp
@@ -321,7 +321,8 @@ namespace rubinius {
if(cpath[cpath.size() - 1] != '/') path << "/";
}
- path << "rbx-" << getlogin() << "-" << getpid();
+ path << "rbx-" << (getlogin() || "ghostchild") << "-" << getpid();
+
shared->fsapi_path.assign(path.str());
create_fsapi(state);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment