{"id":13421588,"url":"https://github.com/AndorChen/rbenv-china-mirror","last_synced_at":"2025-03-15T10:31:14.413Z","repository":{"id":17175011,"uuid":"19942294","full_name":"AndorChen/rbenv-china-mirror","owner":"AndorChen","description":"让 rbenv 使用 Ruby China 的镜像安装 Ruby","archived":false,"fork":false,"pushed_at":"2022-05-16T12:02:50.000Z","size":11,"stargazers_count":128,"open_issues_count":1,"forks_count":10,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-18T08:27:50.061Z","etag":null,"topics":["rbenv","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/AndorChen.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":"2014-05-19T13:11:19.000Z","updated_at":"2024-09-26T07:42:48.000Z","dependencies_parsed_at":"2022-09-11T01:41:06.864Z","dependency_job_id":null,"html_url":"https://github.com/AndorChen/rbenv-china-mirror","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndorChen%2Frbenv-china-mirror","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndorChen%2Frbenv-china-mirror/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndorChen%2Frbenv-china-mirror/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndorChen%2Frbenv-china-mirror/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndorChen","download_url":"https://codeload.github.com/AndorChen/rbenv-china-mirror/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243718892,"owners_count":20336590,"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","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":["rbenv","ruby"],"created_at":"2024-07-30T23:00:25.919Z","updated_at":"2025-03-15T10:31:14.030Z","avatar_url":"https://github.com/AndorChen.png","language":"Shell","funding_links":[],"categories":["rbenv plugin"],"sub_categories":[],"readme":"# rbenv-china-mirror\n\n这是一个 [rbenv](https://github.com/rbenv/rbenv) 插件，作用是使用 [Ruby China 的镜像](https://cache.ruby-china.com/)安装 Ruby。\n\n## 安装方法\n\n在命令行中执行下述命令：\n\n```sh\n$ git clone https://github.com/andorchen/rbenv-china-mirror.git \"$(rbenv root)\"/plugins/rbenv-china-mirror\n```\n\n## 使用方法\n\n像往常一样安装 Ruby 即可，无需额外设置。\n\n```sh\n$ rbenv install 2.4.1\n```\n\n## 升级方法\n\n进入 `rbenv-china-mirror` 插件所在的目录，拉取这个仓库里的最新代码：\n\n```\n$ cd ~/.rbenv/plugins/rbenv-china-mirror\n$ git pull\n```\n\n## 卸载方法\n\n进入 `~/.rbenv/plugins/` 目录，把 `rbenv-china-mirror` 文件夹整个删除即可。\n\n## 工作原理\n\n安装前，替换 Ruby 安装定义文件中 Ruby 的下载地址。安装后，再把地址改为原值。\n\n## 作者\n\n[Andor](http://about.ac)\n\n## 许可证\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndorChen%2Frbenv-china-mirror","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAndorChen%2Frbenv-china-mirror","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAndorChen%2Frbenv-china-mirror/lists"}