Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## Next Release

* Make the temporary directory path used by spring contain the UID of the process
so that spring can work on machines where multiple users share a single $TMPDIR.

## 1.4.3

* Support new binstub format and --remove option
Expand Down
2 changes: 1 addition & 1 deletion lib/spring/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def version
end

def tmp_path
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}"))
FileUtils.mkdir_p(path) unless path.exist?
path
end
Expand Down