vertiginous / pik

Ruby version manager for Windows
830 stars 122 forks source link

HOME environment variable ignored #119

Open thyresias opened 12 years ago

thyresias commented 12 years ago

Until pik 0.2.7 included, the user home (where .pik lives) was set by the HOME environment variable, if available. Otherwise USERPROFILE was used as a fallback. This is consistent with most other programs coming from ruby/unix (gems, irb, msysgit, etc.).

I use this to have a Unix-like home separate from /Users/MyName, say /home/myname, so /Users/MyName contains windows stuff, and /home/myname contains unix stuff.

In pik 0.2.8, only USERPROFILE is used : could you please revert to the previous "standard" behavior?

thyresias commented 12 years ago

Also, this would allow solving issue 109 (utf8 user name).

koppor commented 12 years ago

In pik 0.3.0.pre, pik requires HOME to be set. "pik install jruby" works without "HOME", but "pik use jruby" has no effekt if HOME is not set.