René's URL Explorer Experiment


Title: feat(doctor): support asdf-managed Ruby in the CocoaPods check by NathanWalker · Pull Request #6086 · NativeScript/nativescript-cli · GitHub

Open Graph Title: feat(doctor): support asdf-managed Ruby in the CocoaPods check by NathanWalker · Pull Request #6086 · NativeScript/nativescript-cli

X Title: feat(doctor): support asdf-managed Ruby in the CocoaPods check by NathanWalker · Pull Request #6086 · NativeScript/nativescript-cli

Description: What is the current behavior? When Ruby is managed by asdf, the ns doctor CocoaPods verification runs in a fresh temp directory that has no .tool-versions. asdf then fails to resolve a Ruby version for that directory, so pod install fails and the check reports a broken environment even on healthy machines. Related: #6061 What is the new behavior? Detect the active Ruby version via asdf current ruby and write it into a .tool-versions file in the temporary CocoaPods project so the check runs with the same Ruby the project uses: The probe uses ignoreError: true, so a missing or misconfigured asdf no longer makes the check throw and report a broken environment. The version is resolved with an explicit cwd (process.cwd()), so it reflects the project even when ns doctor is invoked outside of the project directory. The .tool-versions entry is newline-terminated so it does not merge with existing content. Adds unit tests around asdf-present / asdf-absent behavior in the doctor package. Note: supersedes the approach in #6062, incorporating the review feedback on that PR (explicit cwd, trailing newline, and unit tests). PR Checklist The PR title follows the commit message guidelines. There is an issue for the bug/feature this PR is for (#6061). All existing tests are passing (doctor package: 82 passing). Tests for the changes are included. Summary by CodeRabbit Bug Fixes Improved CocoaPods diagnostics on macOS when Ruby is managed through asdf. CocoaPods checks now continue successfully when asdf is unavailable. Added clearer error reporting when CocoaPods verification fails. Tests Added coverage for Ruby version detection, configuration handling, and missing asdf scenarios.

Open Graph Description: What is the current behavior? When Ruby is managed by asdf, the ns doctor CocoaPods verification runs in a fresh temp directory that has no .tool-versions. asdf then fails to resolve a Ruby version...

X Description: What is the current behavior? When Ruby is managed by asdf, the ns doctor CocoaPods verification runs in a fresh temp directory that has no .tool-versions. asdf then fails to resolve a Ruby version...

Opengraph URL: https://github.com/NativeScript/nativescript-cli/pull/6086

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:ca2de9b1-c690-4463-577b-f0fe6d376174
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idED3A:17500B:271FAB:390AF4:6A6368B5
html-safe-nonce787d908c546267f5563b061a02960f2b8ec64cc9602439fcf1480979df8b1b50
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDNBOjE3NTAwQjoyNzFGQUI6MzkwQUY0OjZBNjM2OEI1IiwidmlzaXRvcl9pZCI6IjEwMTYzNzY2MDE5MDIwMTY2OTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac34653f4e89c3211407f1e73184a70bbf0876e7699ebda0541e3b395b2a9c5b7f
hovercard-subject-tagpull_request:4119700883
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/NativeScript/nativescript-cli/pull/6086/files
twitter:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/457187?s=400&v=4
og:image:altWhat is the current behavior? When Ruby is managed by asdf, the ns doctor CocoaPods verification runs in a fresh temp directory that has no .tool-versions. asdf then fails to resolve a Ruby version...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None669d3fcd704a169521d2b6431762f95a6878a9e8ccaf0fd5f2d0802fc5b971f9
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/NativeScript/nativescript-cli git https://github.com/NativeScript/nativescript-cli.git
octolytics-dimension-user_id7392261
octolytics-dimension-user_loginNativeScript
octolytics-dimension-repository_id21347346
octolytics-dimension-repository_nwoNativeScript/nativescript-cli
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id21347346
octolytics-dimension-repository_network_root_nwoNativeScript/nativescript-cli
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release20da292f132ff51328be50073854259f417052c1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NativeScript/nativescript-cli/pull/6086/changes#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6086%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNativeScript%2Fnativescript-cli%2Fpull%2F6086%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=NativeScript%2Fnativescript-cli
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
Reloadhttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
NativeScript https://github.com/NativeScript
nativescript-clihttps://github.com/NativeScript/nativescript-cli
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
Notifications https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Fork 204 https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Star 1.1k https://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli
Code https://github.com/NativeScript/nativescript-cli
Issues 356 https://github.com/NativeScript/nativescript-cli/issues
Pull requests 17 https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality 0 https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Code https://github.com/NativeScript/nativescript-cli
Issues https://github.com/NativeScript/nativescript-cli/issues
Pull requests https://github.com/NativeScript/nativescript-cli/pulls
Actions https://github.com/NativeScript/nativescript-cli/actions
Projects https://github.com/NativeScript/nativescript-cli/projects
Security and quality https://github.com/NativeScript/nativescript-cli/security
Insights https://github.com/NativeScript/nativescript-cli/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FNativeScript%2Fnativescript-cli%2Fissues%2Fnew%2Fchoose
NathanWalkerhttps://github.com/NathanWalker
mainhttps://github.com/NativeScript/nativescript-cli/tree/main
fix/doctor-asdf-ruby-versionhttps://github.com/NativeScript/nativescript-cli/tree/fix/doctor-asdf-ruby-version
Conversation 3 https://github.com/NativeScript/nativescript-cli/pull/6086
Commits 1 https://github.com/NativeScript/nativescript-cli/pull/6086/commits
Checks 4 https://github.com/NativeScript/nativescript-cli/pull/6086/checks
Files changed 3 https://github.com/NativeScript/nativescript-cli/pull/6086/files
feat(doctor): support asdf-managed Ruby in the CocoaPods check https://github.com/NativeScript/nativescript-cli/pull/6086/changes#top
Show all changes 1 commit https://github.com/NativeScript/nativescript-cli/pull/6086/files
64563b4 feat(doctor): support asdf-managed Ruby in the CocoaPods check NathanWalker Jul 23, 2026 https://github.com/NativeScript/nativescript-cli/pull/6086/commits/64563b4311cc0e385ac3bcd7c6194482df65d482
Clear filters https://github.com/NativeScript/nativescript-cli/pull/6086/files
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
sys-info.ts https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-701c9e54fe5fffa8b71c364067267a780c91a53324ad3af3d372ee8bc42c6a09
file-system.ts https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
sys-info.ts https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-b6d44d840134ded1c69f97272735df46356f3c7c7a8c5119d3bc85b5c9c19eee
packages/doctor/src/sys-info.tshttps://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-701c9e54fe5fffa8b71c364067267a780c91a53324ad3af3d372ee8bc42c6a09
View file https://github.com/NativeScript/nativescript-cli/blob/64563b4311cc0e385ac3bcd7c6194482df65d482/packages/doctor/src/sys-info.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6086/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-701c9e54fe5fffa8b71c364067267a780c91a53324ad3af3d372ee8bc42c6a09
coderabbitaihttps://github.com/apps/coderabbitai
Jul 23, 2026https://github.com/NativeScript/nativescript-cli/pull/6086/changes#r3641131068
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
https://asdf-vm.com/manage/versions.htmlhttps://asdf-vm.com/manage/versions.html
https://asdf-vm.com/guide/upgrading-to-v0-16.htmlhttps://asdf-vm.com/guide/upgrading-to-v0-16.html
https://github.com/asdf-vm/asdf/blob/master/docs/manage/configuration.mdhttps://github.com/asdf-vm/asdf/blob/master/docs/manage/configuration.md
asdf-vm/asdf#1696https://github.com/asdf-vm/asdf/issues/1696
https://github.com/asdf-vm/asdf/blob/master/docs/guide/getting-started.mdhttps://github.com/asdf-vm/asdf/blob/master/docs/guide/getting-started.md
https://asdf-vm.com/manage/versions.htmlhttps://asdf-vm.com/manage/versions.html
https://asdf-vm.com/manage/commands.htmlhttps://asdf-vm.com/manage/commands.html
https://asdf-vm.com/guide/upgrading-to-v0-16.htmlhttps://asdf-vm.com/guide/upgrading-to-v0-16.html
bug: asdf current is not report correctly asdf-vm/asdf#1696https://github.com/asdf-vm/asdf/issues/1696
https://github.com/asdf-vm/asdf/blob/master/docs/manage/configuration.mdhttps://github.com/asdf-vm/asdf/blob/master/docs/manage/configuration.md
https://github.com/asdf-vm/asdf/blob/2114f1eb/docs/guide/getting-started.mdhttps://github.com/asdf-vm/asdf/blob/2114f1eb/docs/guide/getting-started.md
Please reload this pagehttps://github.com/NativeScript/nativescript-cli/pull/6086/changes
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-701c9e54fe5fffa8b71c364067267a780c91a53324ad3af3d372ee8bc42c6a09
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-701c9e54fe5fffa8b71c364067267a780c91a53324ad3af3d372ee8bc42c6a09
packages/doctor/src/wrappers/file-system.tshttps://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
View file https://github.com/NativeScript/nativescript-cli/blob/64563b4311cc0e385ac3bcd7c6194482df65d482/packages/doctor/src/wrappers/file-system.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6086/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-1aab368a77e54e4b0846365945e7cfc27d30fa26c5046c2cf7b2262098508d84
packages/doctor/test/sys-info.tshttps://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-b6d44d840134ded1c69f97272735df46356f3c7c7a8c5119d3bc85b5c9c19eee
View file https://github.com/NativeScript/nativescript-cli/blob/64563b4311cc0e385ac3bcd7c6194482df65d482/packages/doctor/test/sys-info.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/NativeScript/nativescript-cli/pull/6086/{{ revealButtonHref }}
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-b6d44d840134ded1c69f97272735df46356f3c7c7a8c5119d3bc85b5c9c19eee
https://github.com/NativeScript/nativescript-cli/pull/6086/changes#diff-b6d44d840134ded1c69f97272735df46356f3c7c7a8c5119d3bc85b5c9c19eee
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.