Skip to content
This repository was archived by the owner on Aug 3, 2025. It is now read-only.
Open
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
2 changes: 1 addition & 1 deletion lib/erlang/node.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def self.rpc_call(node,port,mod,fun,args)
# Get the Cookie from the home directory
def self.get_cookie
# ... I did it all for the cookie, come on the cookie ...
fp = File.expand_path("~#{ENV['USER']}/.erlang.cookie")
fp = File.expand_path("#{ENV['HOME']}/.erlang.cookie")
fh = File.open(fp,'r')
fh.readline.strip
end
Expand Down