Unverified Commit 572958ec authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto Committed by GitHub

Merge pull request #4896 from shuujii/fix-undefined-method-Pathname

Fix "undefined method `Pathname'"; fix #4895
parents fa90bcb9 9f1167f7
......@@ -67,7 +67,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
end
def home_path
@home_path ||= Pathname(
@home_path ||= Pathname.new(
params[:ndk_home] ||
ENV['ANDROID_NDK_HOME'] ||
DEFAULT_NDK_HOMES.find { |path|
......@@ -124,7 +124,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
path = home_path.join('toolchains', 'llvm' , 'prebuilt', 'windows*')
Dir.glob(path.to_s){ |item|
next if File.file?(item)
path = Pathname(item)
path = Pathname.new(item)
break
}
path.basename
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment