lib/sprout/user.rb in sprout-0.7.206-darwin vs lib/sprout/user.rb in sprout-0.7.210
- old
+ new
@@ -152,10 +152,10 @@
return @home = "#{ENV["HOMEDRIVE"]}:#{ENV["HOMEPATH"]}"
end
begin
return @home = File.expand_path("~")
- rescue StandardError
+ rescue StandardError => e
if File::ALT_SEPARATOR
return @home = "C:\\"
else
return @home = "/"
end