lib/backports/1.9.1/file/expand_path.rb in backports-3.6.0 vs lib/backports/1.9.1/file/expand_path.rb in backports-3.6.1
- old
+ new
@@ -1,6 +1,6 @@
if RUBY_VERSION < '1.9'
- require 'backports/tools'
+ require 'backports/tools/path'
class << File
def expand_path_with_potential_to_path(file, dir = nil)
raise ArgumentError, 'home not set' if file == '~' && ENV["HOME"] == ''
expand_path_without_potential_to_path(