Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mruby
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
mruby
Commits
572958ec
Unverified
Commit
572958ec
authored
Dec 22, 2019
by
Yukihiro "Matz" Matsumoto
Committed by
GitHub
Dec 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4896 from shuujii/fix-undefined-method-Pathname
Fix "undefined method `Pathname'"; fix #4895
parents
fa90bcb9
9f1167f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
tasks/toolchains/android.rake
tasks/toolchains/android.rake
+2
-2
No files found.
tasks/toolchains/android.rake
View file @
572958ec
...
@@ -67,7 +67,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
...
@@ -67,7 +67,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
end
end
def
home_path
def
home_path
@home_path
||=
Pathname
(
@home_path
||=
Pathname
.
new
(
params
[
:ndk_home
]
||
params
[
:ndk_home
]
||
ENV
[
'ANDROID_NDK_HOME'
]
||
ENV
[
'ANDROID_NDK_HOME'
]
||
DEFAULT_NDK_HOMES
.
find
{
|
path
|
DEFAULT_NDK_HOMES
.
find
{
|
path
|
...
@@ -124,7 +124,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
...
@@ -124,7 +124,7 @@ Set ANDROID_PLATFORM environment variable or set :platform parameter
path
=
home_path
.
join
(
'toolchains'
,
'llvm'
,
'prebuilt'
,
'windows*'
)
path
=
home_path
.
join
(
'toolchains'
,
'llvm'
,
'prebuilt'
,
'windows*'
)
Dir
.
glob
(
path
.
to_s
){
|
item
|
Dir
.
glob
(
path
.
to_s
){
|
item
|
next
if
File
.
file?
(
item
)
next
if
File
.
file?
(
item
)
path
=
Pathname
(
item
)
path
=
Pathname
.
new
(
item
)
break
break
}
}
path
.
basename
path
.
basename
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment