[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7796":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":16,"starSnapshotCount":16,"syncStatus":28,"lastSyncTime":29,"discoverSource":30},7796,"rubygems","ruby\u002Frubygems","ruby","Library packaging and distribution for Ruby.","https:\u002F\u002Frubygems.org\u002F",null,"Ruby",3931,1913,162,171,0,3,8,64.15,"Other",false,"master",[24,7,5],"package-manager","2026-06-12 04:00:35","# RubyGems\n\nRubyGems is a package management framework for Ruby.\n\nA package (also known as a library) contains a set of functionality that can be invoked by a Ruby program, such as reading and parsing an XML file.\nWe call these packages \"gems\" and RubyGems is a tool to install, create, manage and load these packages in your Ruby environment.\n\nRubyGems is also a client for [RubyGems.org](https:\u002F\u002Frubygems.org), a public repository of Gems that allows you to publish a Gem\nthat can be shared and used by other developers. See our guide on publishing a Gem at [guides.rubygems.org](https:\u002F\u002Fguides.rubygems.org\u002Fpublishing\u002F)\n\n## Getting Started\n\nInstalling and managing a Gem is done through the `gem` command. To install a Gem such as [Faraday][faraday]:\n\n```bash\ngem install faraday\n```\n\n[faraday]: https:\u002F\u002Fgithub.com\u002Flostisland\u002Ffaraday?tab=readme-ov-file\n\nRubyGems will download the Faraday Gem from RubyGems.org and install it into your Ruby environment.\n\nFinally, inside your Ruby program, load the Faraday gem and start hacking:\n\n```ruby\nrequire 'faraday'\nresponse = Faraday.get('https:\u002F\u002Frubygems.org')\n# do something with `response`...\n```\n\nFor more information about how to use RubyGems, see our RubyGems basics guide at [guides.rubygems.org](https:\u002F\u002Fguides.rubygems.org\u002Frubygems-basics\u002F)\n\n## Requirements\n\n* RubyGems supports Ruby 3.0 or later.\n\n## Installation\n\nRubyGems is already installed in your Ruby environment, you can check the version you have installed by running `gem --version` in your terminal emulator.\n\nIn some cases Ruby & RubyGems may be provided as OS packages. This is not a\nrecommended way to use Ruby & RubyGems. It's better to use a Ruby Version\nManager, such as [rbenv](https:\u002F\u002Fgithub.com\u002Frbenv\u002Frbenv) or\n[chruby](https:\u002F\u002Fgithub.com\u002Fpostmodern\u002Fchruby). If you still want to use the\nversion provided by your OS package manager, please also use your OS package\nmanager to upgrade rubygems, and disregard any other installation instructions\ngiven below.\n\nIf you would like to manually install RubyGems:\n\n* Download from https:\u002F\u002Frubygems.org\u002Fpages\u002Fdownload, unpack, and `cd` into RubyGems' src\n* OR clone this repository and `cd` into the repository\n\nInstall RubyGems by running:\n\n    $ ruby setup.rb\n\nFor more details and other options, see:\n\n    $ ruby setup.rb --help\n\n## Upgrading RubyGems\n\nTo upgrade to the latest RubyGems, run:\n\n    $ gem update --system\n\nSee [UPGRADING](doc\u002FUPGRADING.md) for more details and alternative instructions.\n\n## Release policy\n\nRubyGems and Bundler are released in sync, although they do not share their\nmajor version number. It is planned that also their major version numbers will\nbe sync'ed in the future.\n\nThe release policy is somewhat similar to the release policy of Ruby itself:\n\n* Frequent patch releases (every 2-4 weeks) including bug fixes, minor\n  enhancements, small features, or even medium sized features declared as\n  experimental for battle testing.\n* Yearly minor releases including bigger features, and minor breaking changes\n  (affecting only edge cases and a very small set of users).\n* Occasional major releases (replacing yearly minors) including major breaking\n  changes.\n\n## Documentation\n\nRubyGems uses [rdoc](https:\u002F\u002Fgithub.com\u002Frdoc\u002Frdoc) for documentation. A compiled set of the docs\ncan be viewed online at [docs.ruby-lang.org](https:\u002F\u002Fdocs.ruby-lang.org\u002Fen\u002Fmaster\u002FGem.html).\n\nRubyGems also provides a comprehensive set of guides which covers numerous topics such as\ncreating a new gem, security practices and other resources at https:\u002F\u002Fguides.rubygems.org\n\n## Getting Help\n\n### Filing Tickets\n\nGot a bug and you're not sure?  You're sure you have a bug, but don't know\nwhat to do next?  In any case, let us know about it!  The best place\nfor letting the RubyGems team know about bugs or problems you're having is\n[on the RubyGems issues page at GitHub](https:\u002F\u002Fgithub.com\u002Fruby\u002Frubygems\u002Fissues).\n\n### Bundler Compatibility\n\nSee https:\u002F\u002Fbundler.io\u002Fcompatibility for known issues.\n\n### Supporting\n\nRubyGems is a community project. Please consider sponsoring [individual contributors for their great OSS\nwork](https:\u002F\u002Fgithub.com\u002Fruby\u002Frubygems\u002Fgraphs\u002Fcontributors).\n\nIn addition, Ruby Central administers grant-funded work for improvements to `ruby\u002Frubygems`, as well as running\nRubyGems.org (the service). You can support Ruby Central by attending or [sponsoring](mailto:sponsors@rubycentral.org)\na [RubyConf](https:\u002F\u002Frubyconf.org\u002F), or by [joining as a supporting member](https:\u002F\u002Frubycentral.org\u002F#\u002Fportal\u002Fsignup).\n\n### Contributing\n\nIf you'd like to contribute to RubyGems, that's awesome, and we \u003C3 you. Check out our [guide to contributing](CONTRIBUTING.md) for more information.\n\n### Code of Conduct\n\nEveryone interacting in the RubyGems project’s codebases, issue trackers, chat rooms, and mailing lists is expected to follow the [contributor code of conduct](https:\u002F\u002Fgithub.com\u002Fruby\u002Frubygems\u002Fblob\u002Fmaster\u002FCODE_OF_CONDUCT.md).\n","RubyGems 是一个用于 Ruby 语言的包管理和分发工具。它允许用户安装、创建、管理和加载称为“gems”的软件包，这些软件包可以提供如读取和解析 XML 文件等功能。RubyGems 还作为 RubyGems.org 的客户端，后者是一个公共的 Gems 仓库，支持开发者发布可共享的 Gem 包。该工具非常适合需要在 Ruby 项目中引入外部库或功能的场景下使用，例如 Web 开发、数据处理等。通过简单的 `gem` 命令即可完成大部分操作，使得整个过程非常直观且易于上手。此外，RubyGems 支持 Ruby 3.0 或更高版本，并建议使用 Ruby 版本管理器来确保最佳体验。",2,"2026-06-11 03:14:25","top_language"]