Skip to content

couldn't find HOME environment variable when expanding '~' (ArgumentError) #2784

Closed
@eregon

Description

@eregon

It seems CRuby has a fallback in the case HOME is unset:

$ unset HOME          
$ ruby -e 'p Dir.home'
"/home/eregon"
$ HOME=/home ruby -e 'p Dir.home'
"/home"

Found in SeleniumHQ/selenium#11251 (comment)

Related: jruby/jruby#5661

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions