{"id":18370160,"url":"https://github.com/docwhat/rbenv-chefdk","last_synced_at":"2025-10-09T06:50:49.514Z","repository":{"id":26824253,"uuid":"30283029","full_name":"docwhat/rbenv-chefdk","owner":"docwhat","description":"DEPRECATED: rbenv plugin for ChefDK","archived":false,"fork":false,"pushed_at":"2021-02-13T02:05:00.000Z","size":14,"stargazers_count":65,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-28T00:50:22.590Z","etag":null,"topics":["chefdk","rbenv","rbenv-plugin","ruby"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docwhat.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-04T05:26:11.000Z","updated_at":"2023-10-26T14:27:15.000Z","dependencies_parsed_at":"2022-08-20T20:50:46.900Z","dependency_job_id":null,"html_url":"https://github.com/docwhat/rbenv-chefdk","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/docwhat/rbenv-chefdk","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Frbenv-chefdk","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Frbenv-chefdk/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Frbenv-chefdk/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Frbenv-chefdk/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docwhat","download_url":"https://codeload.github.com/docwhat/rbenv-chefdk/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docwhat%2Frbenv-chefdk/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000859,"owners_count":26082951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chefdk","rbenv","rbenv-plugin","ruby"],"created_at":"2024-11-05T23:36:44.174Z","updated_at":"2025-10-09T06:50:49.486Z","avatar_url":"https://github.com/docwhat.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"rbenv-chefdk: Use ChefDK with rbenv\n===================================\n\nThis plugin lets you treat [ChefDK](https://downloads.chef.io/chef-dk/) as\nanother version in [rbenv](http://rbenv.org/).\n\n**deprecated** ChefDK has been replaced by Chef Workstation. See the [rbenv-chef-workstation](https://github.com/docwhat/rbenv-chef-workstation) plugin instead.\n\nRequirements\n------------\n\n-   [ChefDK](https://downloads.chef.io/chef-dk/) installed in `/opt/chefdk`\n\nInstallation\n------------\n\n### From GitHub\n\nTo install rbenv-chefdk, clone this repository into the `$(rbenv root)/plugins`\ndirectory.\n\n``` sh\ncd $(rbenv root)/plugins\ngit clone \u003curl\u003e\n```\n\n### On macOS\n\nOn macOS, you can use [`brew`](https://brew.sh/) to install:\n```\nbrew install rbenv-chefdk\n```\n\n**Warning:** If you've previously installed ChefDK which led you to using this\nplugin, you will want to remove the profile changes recommended in the [ChefDK\ninstall instructions](https://docs.chef.io/install_dk.html#set-system-ruby) or\nin the Homebrew info gist. Otherwise `rbenv` or ChefDK will not work correctly.\n\nThen create an empty directory in `$(rbenv root)/versions` called `chefdk`:\n\n``` sh\n$ mkdir \"$(rbenv root)/versions/chefdk\"\n```\n\nFinally, change to the new `chefdk` version and run `rbenv rehash`.\n\n``` sh\n$ rbenv shell chefdk\n$ rbenv rehash\n$ rbenv which ruby\n/opt/chefdk/embedded/bin/ruby\n```\n\nThat's it!\n\nTroubleshooting\n---------------\n\nIf you are having problems, try running `sanity-check.sh`:\n\n``` sh\n$ $SHELL \"$(rbenv root)/plugins/rbenv-chefdk/sanity-check.sh\"\n```\n\nFrequently Asked Questions\n--------------------------\n\n### Hey, what happened to `gem`?\n\nWith the ChefDK you have to use `chef gem` instead.\n\n### Why don't you include `/opt/chefdk/embedded/bin`?\n\nWe don't fully include the `/opt/chefdk/embedded/bin` directory because it'll\nbreak your system in subtle ways.\n\n`/opt/chefdk/embedded/bin` has commands like `clear`, `tput`, `xsltproc`, and\n`xz`. These are commands that are part of your system and are only included in\nChefDK so it gets reliable results across platforms.\n\nIf we made shims of these commands, your system might break when not using\nchefdk and can produce unexpected results even if you were using chefdk if your\nversion of these commands are different (e.g. Gnu vs. BSD or version).\n\n### Why not just symlink `/opt/chefdk/embedded` to `$(rbenv root)/versions/chefdk`?\n\nFor the same reason we don't include `/opt/chefdk/embedded/bin`: It breaks\nsystems commands in unexpected ways.\n\n### Rbenv isn't working or is using gems from the wrong place\n\nMake sure you undid any changes recommended by the [ChefDK install\ninstructions](https://docs.chef.io/install_dk.html#set-system-ruby) or in the\nHomebrew info gist.\n\nSpecifically, make sure you aren't calling `chef shell-init` anyplace in your\nshell startup files.\n\n### \"can't find executable chef (Gem::Exception)\"\n\nThis is probably because you are using\n[`rbenv-bundle-exec`](https://github.com/maljub01/rbenv-bundle-exec).\n\nYou'll have to tell `rbenv-bundle-exec` to ignore a bunch of binaries that are\nonly in ChefDK:\n\n``` sh\necho chef \u003e\u003e ~/.no_bundle_exec\necho berks \u003e\u003e ~/.no_bundle_exec\n```\n\nQuestions?\n----------\n\nYou can reach me at [docwhat.org](https://docwhat.org/email/) or as docwhat on\n[Freenode IRC](https://freenode.net/).\n\nLicense\n-------\n\nCopyright (c) 2015,2016 Christian Höltje - Released under the MIT License (see\nthe\n`LICENSE` file)\n\nNote on Patches/Pull Requests\n-----------------------------\n\n-   Fork the project.\n-   Make your feature addition or bug fix.\n-   Add tests for it. This is important so I don't break it in a future\n    version unintentionally.\n-   Commit\n-   Send me a pull request. Bonus points for topic branches.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocwhat%2Frbenv-chefdk","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocwhat%2Frbenv-chefdk","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocwhat%2Frbenv-chefdk/lists"}