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.
2 parents 91294f0 + 9bdba37 commit 1b045fbCopy full SHA for 1b045fb
CHANGELOG.md
@@ -1,3 +1,8 @@
1
+## Next Release
2
+
3
+* Make the temporary directory path used by spring contain the UID of the process
4
+ so that spring can work on machines where multiple users share a single $TMPDIR.
5
6
## 1.4.3
7
8
* Support new binstub format and --remove option
lib/spring/env.rb
@@ -33,7 +33,7 @@ def version
33
end
34
35
def tmp_path
36
- path = Pathname.new(File.join(ENV['XDG_RUNTIME_DIR'] || Dir.tmpdir, "spring"))
+ path = Pathname.new(File.join(ENV['XDG_RUNTIME_DIR'] || Dir.tmpdir, "spring-#{Process.uid}"))
37
FileUtils.mkdir_p(path) unless path.exist?
38
path
39
0 commit comments