lib/dev/Environment.rb in dev-1.0.233 vs lib/dev/Environment.rb in dev-1.0.235
- old
+ new
@@ -20,11 +20,9 @@
def self.user_profile
["USERPROFILE","HOME"].each {|v|
return ENV[v].gsub('\\','/') unless ENV[v].nil?
}
dir="~"
- #dir=ENV["HOME"] unless ENV["HOME"].nil?
- #dir=ENV["USERPROFILE"].gsub('\\','/') unless ENV["USERPROFILE"].nil?
end
def self.dev_root
["DEV_HOME","DEV_ROOT","USERPROFILE","HOME"].each {|v|
return ENV[v].gsub('\\','/') unless ENV[v].nil?