René's URL Explorer Experiment


Title: Please upgrade Ruby build to get latest security fix versions · Issue #2832 · pre-commit/pre-commit · GitHub

Open Graph Title: Please upgrade Ruby build to get latest security fix versions · Issue #2832 · pre-commit/pre-commit

X Title: Please upgrade Ruby build to get latest security fix versions · Issue #2832 · pre-commit/pre-commit

Description: search you tried in the issue tracker Ruby upgrade in the past day describe your issue On 30th March 2023 new minor versions of Ruby were released, fixing security bugs https://www.ruby-lang.org/en/news/ Companies that can upgrade fast a...

Open Graph Description: search you tried in the issue tracker Ruby upgrade in the past day describe your issue On 30th March 2023 new minor versions of Ruby were released, fixing security bugs https://www.ruby-lang.org/en...

X Description: search you tried in the issue tracker Ruby upgrade in the past day describe your issue On 30th March 2023 new minor versions of Ruby were released, fixing security bugs https://www.ruby-lang.org/en...

Opengraph URL: https://github.com/pre-commit/pre-commit/issues/2832

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Please upgrade Ruby build to get latest security fix versions","articleBody":"### search you tried in the issue tracker\n\nRuby upgrade in the past day\n\n### describe your issue\n\nOn 30th March 2023 new minor versions of Ruby were released, fixing security bugs https://www.ruby-lang.org/en/news/\r\n\r\nCompanies that can upgrade fast and their developers use pre-commit, will experience that their hooks won't run, because of the self contained ruby-build does not have the latest information on how to build it.\r\n\r\nI myself don't really grok how pre-commit works, just guessing this is the issue :( Sorry.\n\n### pre-commit --version\n\npre-commit 3.2.1\n\n### .pre-commit-config.yaml\n\n```yaml\ndefault_language_version:\r\n  ruby: 2.7.8\r\nrepos:\r\n  - repo: local\r\n    hooks:\r\n      - id: brakeman\r\n        stages: [ commit ]\r\n        name: Scan for security vulnerabilities\r\n        language: ruby\r\n        language_version: 2.7.8\r\n        additional_dependencies:\r\n          - brakeman\r\n        entry: brakeman -5 --no-pager --skip-files bin/local/ --force\r\n        types:\r\n          - ruby\n```\n\n\n### ~/.cache/pre-commit/pre-commit.log (if present)\n\n### version information\r\n\r\n```\r\npre-commit version: 3.2.1\r\ngit --version: git version 2.39.2\r\nsys.version:\r\n    3.11.2 (main, Feb  7 2023, 13:52:42) [GCC 11.3.0]\r\nsys.executable: /home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/bin/python3.11\r\nos.name: posix\r\nsys.platform: linux\r\n```\r\n\r\n### error information\r\n\r\n```\r\nAn unexpected error has occurred: CalledProcessError: command: ('/usr/bin/bash', '/home/ikon/.cache/pre-commit/repojsg3zf75/rbenv-2.7.8/bin/rbenv', 'install', '2.7.8')\r\nreturn code: 2\r\nstdout: (none)\r\nstderr:\r\n    ruby-build: definition not found: 2.7.8\r\n    \r\n    See all available versions with `rbenv install --list'.\r\n    \r\n    If the version you need is missing, try upgrading ruby-build.\r\n```\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/languages/ruby.py\", line 108, in _install_ruby\r\n    lang_base.setup_cmd(prefix, ('rbenv', 'download', version))\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/lang_base.py\", line 87, in setup_cmd\r\n    cmd_output_b(*cmd, cwd=prefix.prefix_dir, **kwargs)\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/util.py\", line 110, in cmd_output_b\r\n    raise CalledProcessError(returncode, cmd, stdout_b, stderr_b)\r\npre_commit.util.CalledProcessError: command: ('/usr/bin/bash', '/home/ikon/.cache/pre-commit/repojsg3zf75/rbenv-2.7.8/bin/rbenv', 'download', '2.7.8')\r\nreturn code: 1\r\nstdout:\r\n    Download and extract ruby 2.7.8 from the RVM repository\r\nstderr:\r\n    https://rvm.io/binaries/ubuntu/22.04/x86_64/ruby-2.7.8.tar.bz2 cannot be reached\r\n    Cannot find a built version of  '2.7.8' compiled for your current system: Ubuntu x86_64 (22.04)\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/error_handler.py\", line 73, in error_handler\r\n    yield\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/main.py\", line 409, in main\r\n    return run(args.config, store, args)\r\n           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/commands/run.py\", line 442, in run\r\n    install_hook_envs(to_install, store)\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/repository.py\", line 248, in install_hook_envs\r\n    _hook_install(hook)\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/repository.py\", line 95, in _hook_install\r\n    lang.install_environment(\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/languages/ruby.py\", line 124, in install_environment\r\n    _install_ruby(prefix, version)\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/languages/ruby.py\", line 111, in _install_ruby\r\n    lang_base.setup_cmd(prefix, ('rbenv', 'install', version))\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/lang_base.py\", line 87, in setup_cmd\r\n    cmd_output_b(*cmd, cwd=prefix.prefix_dir, **kwargs)\r\n  File \"/home/linuxbrew/.linuxbrew/Cellar/pre-commit/3.2.1/libexec/lib/python3.11/site-packages/pre_commit/util.py\", line 110, in cmd_output_b\r\n    raise CalledProcessError(returncode, cmd, stdout_b, stderr_b)\r\npre_commit.util.CalledProcessError: command: ('/usr/bin/bash', '/home/ikon/.cache/pre-commit/repojsg3zf75/rbenv-2.7.8/bin/rbenv', 'install', '2.7.8')\r\nreturn code: 2\r\nstdout: (none)\r\nstderr:\r\n    ruby-build: definition not found: 2.7.8\r\n    \r\n    See all available versions with `rbenv install --list'.\r\n    \r\n    If the version you need is missing, try upgrading ruby-build.\r\n```\r\n","author":{"url":"https://github.com/vadviktor","@type":"Person","name":"vadviktor"},"datePublished":"2023-03-31T13:40:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2832/pre-commit/issues/2832"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cb7d8b93-5f31-e68e-cd7b-2dbd7903733b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB17C:7A008:4A3952:653B9B:6A591D92
html-safe-nonce7c935390ce0d38f197baef8e682128d8f7c05da6ed62e27229acc935b4dd4fc0
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTdDOjdBMDA4OjRBMzk1Mjo2NTNCOUI6NkE1OTFEOTIiLCJ2aXNpdG9yX2lkIjoiMzA1NDEzNTQ4MzQzOTg0ODg1MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacd796faa11f3a0b9fcff89d7fd20b0a7327626ec8d07fec1bded4a9fb3de658df
hovercard-subject-tagissue:1649377785
github-keyboard-shortcutsrepository,issues,commits,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pre-commit/pre-commit/2832/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1abc4bc5eabef4028f3a4bb981ed1bbd5e075b234f2dec5ce4f4d5557880a2c6/pre-commit/pre-commit/issues/2832
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1abc4bc5eabef4028f3a4bb981ed1bbd5e075b234f2dec5ce4f4d5557880a2c6/pre-commit/pre-commit/issues/2832
og:image:altsearch you tried in the issue tracker Ruby upgrade in the past day describe your issue On 30th March 2023 new minor versions of Ruby were released, fixing security bugs https://www.ruby-lang.org/en...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamevadviktor
hostnamegithub.com
expected-hostnamegithub.com
Nonede7b53b927e5bfbf02672a5b2960bf82d1608d91c6d7888039c826ebf8d4ca76
turbo-cache-controlno-preview
go-importgithub.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git
octolytics-dimension-user_id6943086
octolytics-dimension-user_loginpre-commit
octolytics-dimension-repository_id17689377
octolytics-dimension-repository_nwopre-commit/pre-commit
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17689377
octolytics-dimension-repository_network_root_nwopre-commit/pre-commit
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release020f8e5d3a42ae1a22d3f297198ccfca124edd1d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/pre-commit/pre-commit/issues/2832#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpre-commit%2Fpre-commit%2Fissues%2F2832
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
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%2Fpre-commit%2Fpre-commit%2Fissues%2F2832
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=pre-commit%2Fpre-commit
Reloadhttps://github.com/pre-commit/pre-commit/issues/2832
Reloadhttps://github.com/pre-commit/pre-commit/issues/2832
Reloadhttps://github.com/pre-commit/pre-commit/issues/2832
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/2832
pre-commit https://github.com/pre-commit
pre-commithttps://github.com/pre-commit/pre-commit
Please reload this pagehttps://github.com/pre-commit/pre-commit/issues/2832
Notifications https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Fork 986 https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Star 15.4k https://github.com/login?return_to=%2Fpre-commit%2Fpre-commit
Code https://github.com/pre-commit/pre-commit
Issues 21 https://github.com/pre-commit/pre-commit/issues
Pull requests 10 https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality 0 https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
Code https://github.com/pre-commit/pre-commit
Issues https://github.com/pre-commit/pre-commit/issues
Pull requests https://github.com/pre-commit/pre-commit/pulls
Actions https://github.com/pre-commit/pre-commit/actions
Security and quality https://github.com/pre-commit/pre-commit/security
Insights https://github.com/pre-commit/pre-commit/pulse
#2846https://github.com/pre-commit/pre-commit/pull/2846
Please upgrade Ruby build to get latest security fix versionshttps://github.com/pre-commit/pre-commit/issues/2832#top
#2846https://github.com/pre-commit/pre-commit/pull/2846
https://github.com/vadviktor
vadviktorhttps://github.com/vadviktor
on Mar 31, 2023https://github.com/pre-commit/pre-commit/issues/2832#issue-1649377785
https://www.ruby-lang.org/en/news/https://www.ruby-lang.org/en/news/
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.