bundler_pack 4.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +5670 -0
  3. data/LICENSE.md +22 -0
  4. data/README.md +58 -0
  5. data/bundler.gemspec +46 -0
  6. data/exe/bundle +29 -0
  7. data/exe/bundler +4 -0
  8. data/lib/bundler/.document +1 -0
  9. data/lib/bundler/build_metadata.rb +44 -0
  10. data/lib/bundler/capistrano.rb +4 -0
  11. data/lib/bundler/checksum.rb +270 -0
  12. data/lib/bundler/ci_detector.rb +75 -0
  13. data/lib/bundler/cli/add.rb +62 -0
  14. data/lib/bundler/cli/binstubs.rb +57 -0
  15. data/lib/bundler/cli/cache.rb +32 -0
  16. data/lib/bundler/cli/check.rb +40 -0
  17. data/lib/bundler/cli/clean.rb +25 -0
  18. data/lib/bundler/cli/common.rb +161 -0
  19. data/lib/bundler/cli/config.rb +208 -0
  20. data/lib/bundler/cli/console.rb +47 -0
  21. data/lib/bundler/cli/doctor/diagnose.rb +167 -0
  22. data/lib/bundler/cli/doctor/ssl.rb +249 -0
  23. data/lib/bundler/cli/doctor.rb +33 -0
  24. data/lib/bundler/cli/exec.rb +114 -0
  25. data/lib/bundler/cli/fund.rb +36 -0
  26. data/lib/bundler/cli/gem.rb +493 -0
  27. data/lib/bundler/cli/info.rb +83 -0
  28. data/lib/bundler/cli/init.rb +51 -0
  29. data/lib/bundler/cli/install.rb +127 -0
  30. data/lib/bundler/cli/issue.rb +41 -0
  31. data/lib/bundler/cli/list.rb +97 -0
  32. data/lib/bundler/cli/lock.rb +94 -0
  33. data/lib/bundler/cli/open.rb +29 -0
  34. data/lib/bundler/cli/outdated.rb +337 -0
  35. data/lib/bundler/cli/platform.rb +48 -0
  36. data/lib/bundler/cli/plugin.rb +39 -0
  37. data/lib/bundler/cli/pristine.rb +64 -0
  38. data/lib/bundler/cli/remove.rb +17 -0
  39. data/lib/bundler/cli/show.rb +71 -0
  40. data/lib/bundler/cli/update.rb +125 -0
  41. data/lib/bundler/cli.rb +829 -0
  42. data/lib/bundler/compact_index_client/cache.rb +96 -0
  43. data/lib/bundler/compact_index_client/cache_file.rb +148 -0
  44. data/lib/bundler/compact_index_client/parser.rb +87 -0
  45. data/lib/bundler/compact_index_client/updater.rb +105 -0
  46. data/lib/bundler/compact_index_client.rb +92 -0
  47. data/lib/bundler/constants.rb +14 -0
  48. data/lib/bundler/current_ruby.rb +94 -0
  49. data/lib/bundler/definition.rb +1304 -0
  50. data/lib/bundler/dependency.rb +151 -0
  51. data/lib/bundler/deployment.rb +6 -0
  52. data/lib/bundler/deprecate.rb +44 -0
  53. data/lib/bundler/digest.rb +71 -0
  54. data/lib/bundler/dsl.rb +642 -0
  55. data/lib/bundler/endpoint_specification.rb +184 -0
  56. data/lib/bundler/env.rb +148 -0
  57. data/lib/bundler/environment_preserver.rb +69 -0
  58. data/lib/bundler/errors.rb +277 -0
  59. data/lib/bundler/feature_flag.rb +20 -0
  60. data/lib/bundler/fetcher/base.rb +55 -0
  61. data/lib/bundler/fetcher/compact_index.rb +133 -0
  62. data/lib/bundler/fetcher/dependency.rb +85 -0
  63. data/lib/bundler/fetcher/downloader.rb +116 -0
  64. data/lib/bundler/fetcher/gem_remote_fetcher.rb +24 -0
  65. data/lib/bundler/fetcher/index.rb +25 -0
  66. data/lib/bundler/fetcher.rb +365 -0
  67. data/lib/bundler/force_platform.rb +16 -0
  68. data/lib/bundler/friendly_errors.rb +127 -0
  69. data/lib/bundler/gem_helper.rb +237 -0
  70. data/lib/bundler/gem_tasks.rb +7 -0
  71. data/lib/bundler/gem_version_promoter.rb +147 -0
  72. data/lib/bundler/index.rb +203 -0
  73. data/lib/bundler/injector.rb +284 -0
  74. data/lib/bundler/inline.rb +106 -0
  75. data/lib/bundler/installer/gem_installer.rb +88 -0
  76. data/lib/bundler/installer/parallel_installer.rb +280 -0
  77. data/lib/bundler/installer/standalone.rb +113 -0
  78. data/lib/bundler/installer.rb +241 -0
  79. data/lib/bundler/lazy_specification.rb +270 -0
  80. data/lib/bundler/lockfile_generator.rb +119 -0
  81. data/lib/bundler/lockfile_parser.rb +328 -0
  82. data/lib/bundler/man/.document +1 -0
  83. data/lib/bundler/man/bundle-add.1 +79 -0
  84. data/lib/bundler/man/bundle-add.1.ronn +92 -0
  85. data/lib/bundler/man/bundle-binstubs.1 +30 -0
  86. data/lib/bundler/man/bundle-binstubs.1.ronn +42 -0
  87. data/lib/bundler/man/bundle-cache.1 +56 -0
  88. data/lib/bundler/man/bundle-cache.1.ronn +95 -0
  89. data/lib/bundler/man/bundle-check.1 +21 -0
  90. data/lib/bundler/man/bundle-check.1.ronn +26 -0
  91. data/lib/bundler/man/bundle-clean.1 +17 -0
  92. data/lib/bundler/man/bundle-clean.1.ronn +18 -0
  93. data/lib/bundler/man/bundle-config.1 +339 -0
  94. data/lib/bundler/man/bundle-config.1.ronn +455 -0
  95. data/lib/bundler/man/bundle-console.1 +33 -0
  96. data/lib/bundler/man/bundle-console.1.ronn +39 -0
  97. data/lib/bundler/man/bundle-doctor.1 +69 -0
  98. data/lib/bundler/man/bundle-doctor.1.ronn +77 -0
  99. data/lib/bundler/man/bundle-env.1 +9 -0
  100. data/lib/bundler/man/bundle-env.1.ronn +10 -0
  101. data/lib/bundler/man/bundle-exec.1 +104 -0
  102. data/lib/bundler/man/bundle-exec.1.ronn +150 -0
  103. data/lib/bundler/man/bundle-fund.1 +22 -0
  104. data/lib/bundler/man/bundle-fund.1.ronn +25 -0
  105. data/lib/bundler/man/bundle-gem.1 +107 -0
  106. data/lib/bundler/man/bundle-gem.1.ronn +150 -0
  107. data/lib/bundler/man/bundle-help.1 +9 -0
  108. data/lib/bundler/man/bundle-help.1.ronn +12 -0
  109. data/lib/bundler/man/bundle-info.1 +17 -0
  110. data/lib/bundler/man/bundle-info.1.ronn +21 -0
  111. data/lib/bundler/man/bundle-init.1 +20 -0
  112. data/lib/bundler/man/bundle-init.1.ronn +32 -0
  113. data/lib/bundler/man/bundle-install.1 +178 -0
  114. data/lib/bundler/man/bundle-install.1.ronn +314 -0
  115. data/lib/bundler/man/bundle-issue.1 +45 -0
  116. data/lib/bundler/man/bundle-issue.1.ronn +37 -0
  117. data/lib/bundler/man/bundle-licenses.1 +9 -0
  118. data/lib/bundler/man/bundle-licenses.1.ronn +10 -0
  119. data/lib/bundler/man/bundle-list.1 +40 -0
  120. data/lib/bundler/man/bundle-list.1.ronn +41 -0
  121. data/lib/bundler/man/bundle-lock.1 +75 -0
  122. data/lib/bundler/man/bundle-lock.1.ronn +115 -0
  123. data/lib/bundler/man/bundle-open.1 +32 -0
  124. data/lib/bundler/man/bundle-open.1.ronn +28 -0
  125. data/lib/bundler/man/bundle-outdated.1 +106 -0
  126. data/lib/bundler/man/bundle-outdated.1.ronn +117 -0
  127. data/lib/bundler/man/bundle-platform.1 +49 -0
  128. data/lib/bundler/man/bundle-platform.1.ronn +49 -0
  129. data/lib/bundler/man/bundle-plugin.1 +76 -0
  130. data/lib/bundler/man/bundle-plugin.1.ronn +84 -0
  131. data/lib/bundler/man/bundle-pristine.1 +23 -0
  132. data/lib/bundler/man/bundle-pristine.1.ronn +34 -0
  133. data/lib/bundler/man/bundle-remove.1 +15 -0
  134. data/lib/bundler/man/bundle-remove.1.ronn +16 -0
  135. data/lib/bundler/man/bundle-show.1 +16 -0
  136. data/lib/bundler/man/bundle-show.1.ronn +21 -0
  137. data/lib/bundler/man/bundle-update.1 +284 -0
  138. data/lib/bundler/man/bundle-update.1.ronn +367 -0
  139. data/lib/bundler/man/bundle-version.1 +22 -0
  140. data/lib/bundler/man/bundle-version.1.ronn +24 -0
  141. data/lib/bundler/man/bundle.1 +93 -0
  142. data/lib/bundler/man/bundle.1.ronn +107 -0
  143. data/lib/bundler/man/gemfile.5 +503 -0
  144. data/lib/bundler/man/gemfile.5.ronn +586 -0
  145. data/lib/bundler/man/index.txt +31 -0
  146. data/lib/bundler/match_metadata.rb +30 -0
  147. data/lib/bundler/match_platform.rb +42 -0
  148. data/lib/bundler/match_remote_metadata.rb +29 -0
  149. data/lib/bundler/materialization.rb +59 -0
  150. data/lib/bundler/mirror.rb +221 -0
  151. data/lib/bundler/plugin/api/source.rb +330 -0
  152. data/lib/bundler/plugin/api.rb +81 -0
  153. data/lib/bundler/plugin/dsl.rb +53 -0
  154. data/lib/bundler/plugin/events.rb +85 -0
  155. data/lib/bundler/plugin/index.rb +203 -0
  156. data/lib/bundler/plugin/installer/git.rb +34 -0
  157. data/lib/bundler/plugin/installer/path.rb +26 -0
  158. data/lib/bundler/plugin/installer/rubygems.rb +19 -0
  159. data/lib/bundler/plugin/installer.rb +123 -0
  160. data/lib/bundler/plugin/source_list.rb +31 -0
  161. data/lib/bundler/plugin/unloaded_source.rb +25 -0
  162. data/lib/bundler/plugin.rb +387 -0
  163. data/lib/bundler/process_lock.rb +20 -0
  164. data/lib/bundler/remote_specification.rb +126 -0
  165. data/lib/bundler/resolver/base.rb +127 -0
  166. data/lib/bundler/resolver/candidate.rb +85 -0
  167. data/lib/bundler/resolver/incompatibility.rb +15 -0
  168. data/lib/bundler/resolver/package.rb +95 -0
  169. data/lib/bundler/resolver/root.rb +25 -0
  170. data/lib/bundler/resolver/spec_group.rb +74 -0
  171. data/lib/bundler/resolver/strategy.rb +43 -0
  172. data/lib/bundler/resolver.rb +603 -0
  173. data/lib/bundler/retry.rb +92 -0
  174. data/lib/bundler/ruby_dsl.rb +67 -0
  175. data/lib/bundler/ruby_version.rb +135 -0
  176. data/lib/bundler/rubygems_ext.rb +503 -0
  177. data/lib/bundler/rubygems_gem_installer.rb +206 -0
  178. data/lib/bundler/rubygems_integration.rb +456 -0
  179. data/lib/bundler/runtime.rb +331 -0
  180. data/lib/bundler/safe_marshal.rb +31 -0
  181. data/lib/bundler/self_manager.rb +197 -0
  182. data/lib/bundler/settings/validator.rb +86 -0
  183. data/lib/bundler/settings.rb +585 -0
  184. data/lib/bundler/setup.rb +39 -0
  185. data/lib/bundler/shared_helpers.rb +392 -0
  186. data/lib/bundler/source/gemspec.rb +19 -0
  187. data/lib/bundler/source/git/git_proxy.rb +509 -0
  188. data/lib/bundler/source/git.rb +451 -0
  189. data/lib/bundler/source/metadata.rb +67 -0
  190. data/lib/bundler/source/path/installer.rb +53 -0
  191. data/lib/bundler/source/path.rb +256 -0
  192. data/lib/bundler/source/rubygems/remote.rb +86 -0
  193. data/lib/bundler/source/rubygems.rb +606 -0
  194. data/lib/bundler/source/rubygems_aggregate.rb +71 -0
  195. data/lib/bundler/source.rb +120 -0
  196. data/lib/bundler/source_list.rb +240 -0
  197. data/lib/bundler/source_map.rb +72 -0
  198. data/lib/bundler/spec_set.rb +390 -0
  199. data/lib/bundler/stub_specification.rb +147 -0
  200. data/lib/bundler/templates/.document +1 -0
  201. data/lib/bundler/templates/Executable +16 -0
  202. data/lib/bundler/templates/Executable.standalone +14 -0
  203. data/lib/bundler/templates/Gemfile +5 -0
  204. data/lib/bundler/templates/newgem/CHANGELOG.md.tt +5 -0
  205. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +10 -0
  206. data/lib/bundler/templates/newgem/Cargo.toml.tt +13 -0
  207. data/lib/bundler/templates/newgem/Gemfile.tt +24 -0
  208. data/lib/bundler/templates/newgem/LICENSE.txt.tt +21 -0
  209. data/lib/bundler/templates/newgem/README.md.tt +49 -0
  210. data/lib/bundler/templates/newgem/Rakefile.tt +72 -0
  211. data/lib/bundler/templates/newgem/bin/console.tt +11 -0
  212. data/lib/bundler/templates/newgem/bin/setup.tt +8 -0
  213. data/lib/bundler/templates/newgem/circleci/config.yml.tt +37 -0
  214. data/lib/bundler/templates/newgem/exe/newgem.tt +3 -0
  215. data/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +22 -0
  216. data/lib/bundler/templates/newgem/ext/newgem/build.rs.tt +5 -0
  217. data/lib/bundler/templates/newgem/ext/newgem/extconf-c.rb.tt +10 -0
  218. data/lib/bundler/templates/newgem/ext/newgem/extconf-go.rb.tt +11 -0
  219. data/lib/bundler/templates/newgem/ext/newgem/extconf-rust.rb.tt +6 -0
  220. data/lib/bundler/templates/newgem/ext/newgem/go.mod.tt +5 -0
  221. data/lib/bundler/templates/newgem/ext/newgem/newgem-go.c.tt +2 -0
  222. data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +9 -0
  223. data/lib/bundler/templates/newgem/ext/newgem/newgem.go.tt +31 -0
  224. data/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +6 -0
  225. data/lib/bundler/templates/newgem/ext/newgem/src/lib.rs.tt +23 -0
  226. data/lib/bundler/templates/newgem/github/workflows/build-gems.yml.tt +69 -0
  227. data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +48 -0
  228. data/lib/bundler/templates/newgem/gitignore.tt +23 -0
  229. data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +27 -0
  230. data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +9 -0
  231. data/lib/bundler/templates/newgem/lib/newgem.rb.tt +15 -0
  232. data/lib/bundler/templates/newgem/newgem.gemspec.tt +58 -0
  233. data/lib/bundler/templates/newgem/rspec.tt +3 -0
  234. data/lib/bundler/templates/newgem/rubocop.yml.tt +8 -0
  235. data/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
  236. data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +19 -0
  237. data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +15 -0
  238. data/lib/bundler/templates/newgem/standard.yml.tt +3 -0
  239. data/lib/bundler/templates/newgem/test/minitest/test_helper.rb.tt +6 -0
  240. data/lib/bundler/templates/newgem/test/minitest/test_newgem.rb.tt +19 -0
  241. data/lib/bundler/templates/newgem/test/test-unit/newgem_test.rb.tt +15 -0
  242. data/lib/bundler/templates/newgem/test/test-unit/test_helper.rb.tt +6 -0
  243. data/lib/bundler/ui/rg_proxy.rb +19 -0
  244. data/lib/bundler/ui/shell.rb +191 -0
  245. data/lib/bundler/ui/silent.rb +96 -0
  246. data/lib/bundler/ui.rb +9 -0
  247. data/lib/bundler/uri_credentials_filter.rb +43 -0
  248. data/lib/bundler/uri_normalizer.rb +23 -0
  249. data/lib/bundler/vendor/.document +1 -0
  250. data/lib/bundler/vendor/connection_pool/LICENSE +20 -0
  251. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +227 -0
  252. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +3 -0
  253. data/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +56 -0
  254. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +230 -0
  255. data/lib/bundler/vendor/fileutils/COPYING +56 -0
  256. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +2701 -0
  257. data/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
  258. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/connection.rb +41 -0
  259. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/pool.rb +65 -0
  260. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent/timed_stack_multi.rb +80 -0
  261. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +1153 -0
  262. data/lib/bundler/vendor/pub_grub/LICENSE.txt +21 -0
  263. data/lib/bundler/vendor/pub_grub/lib/pub_grub/assignment.rb +20 -0
  264. data/lib/bundler/vendor/pub_grub/lib/pub_grub/basic_package_source.rb +169 -0
  265. data/lib/bundler/vendor/pub_grub/lib/pub_grub/failure_writer.rb +182 -0
  266. data/lib/bundler/vendor/pub_grub/lib/pub_grub/incompatibility.rb +150 -0
  267. data/lib/bundler/vendor/pub_grub/lib/pub_grub/package.rb +43 -0
  268. data/lib/bundler/vendor/pub_grub/lib/pub_grub/partial_solution.rb +121 -0
  269. data/lib/bundler/vendor/pub_grub/lib/pub_grub/rubygems.rb +45 -0
  270. data/lib/bundler/vendor/pub_grub/lib/pub_grub/solve_failure.rb +19 -0
  271. data/lib/bundler/vendor/pub_grub/lib/pub_grub/static_package_source.rb +61 -0
  272. data/lib/bundler/vendor/pub_grub/lib/pub_grub/strategy.rb +42 -0
  273. data/lib/bundler/vendor/pub_grub/lib/pub_grub/term.rb +105 -0
  274. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version.rb +3 -0
  275. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_constraint.rb +129 -0
  276. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_range.rb +423 -0
  277. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_solver.rb +236 -0
  278. data/lib/bundler/vendor/pub_grub/lib/pub_grub/version_union.rb +178 -0
  279. data/lib/bundler/vendor/pub_grub/lib/pub_grub.rb +31 -0
  280. data/lib/bundler/vendor/securerandom/COPYING +56 -0
  281. data/lib/bundler/vendor/securerandom/lib/securerandom.rb +102 -0
  282. data/lib/bundler/vendor/thor/LICENSE.md +20 -0
  283. data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +105 -0
  284. data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +61 -0
  285. data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +108 -0
  286. data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +143 -0
  287. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +407 -0
  288. data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +130 -0
  289. data/lib/bundler/vendor/thor/lib/thor/actions.rb +340 -0
  290. data/lib/bundler/vendor/thor/lib/thor/base.rb +825 -0
  291. data/lib/bundler/vendor/thor/lib/thor/command.rb +151 -0
  292. data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +107 -0
  293. data/lib/bundler/vendor/thor/lib/thor/error.rb +106 -0
  294. data/lib/bundler/vendor/thor/lib/thor/group.rb +292 -0
  295. data/lib/bundler/vendor/thor/lib/thor/invocation.rb +178 -0
  296. data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +37 -0
  297. data/lib/bundler/vendor/thor/lib/thor/line_editor/readline.rb +88 -0
  298. data/lib/bundler/vendor/thor/lib/thor/line_editor.rb +17 -0
  299. data/lib/bundler/vendor/thor/lib/thor/nested_context.rb +29 -0
  300. data/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +86 -0
  301. data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +195 -0
  302. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +178 -0
  303. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +294 -0
  304. data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
  305. data/lib/bundler/vendor/thor/lib/thor/rake_compat.rb +72 -0
  306. data/lib/bundler/vendor/thor/lib/thor/runner.rb +335 -0
  307. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +384 -0
  308. data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +112 -0
  309. data/lib/bundler/vendor/thor/lib/thor/shell/column_printer.rb +29 -0
  310. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +81 -0
  311. data/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb +118 -0
  312. data/lib/bundler/vendor/thor/lib/thor/shell/terminal.rb +42 -0
  313. data/lib/bundler/vendor/thor/lib/thor/shell/wrapped_printer.rb +38 -0
  314. data/lib/bundler/vendor/thor/lib/thor/shell.rb +81 -0
  315. data/lib/bundler/vendor/thor/lib/thor/util.rb +285 -0
  316. data/lib/bundler/vendor/thor/lib/thor/version.rb +3 -0
  317. data/lib/bundler/vendor/thor/lib/thor.rb +674 -0
  318. data/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
  319. data/lib/bundler/vendor/tsort/lib/tsort.rb +455 -0
  320. data/lib/bundler/vendor/uri/COPYING +56 -0
  321. data/lib/bundler/vendor/uri/lib/uri/common.rb +922 -0
  322. data/lib/bundler/vendor/uri/lib/uri/file.rb +100 -0
  323. data/lib/bundler/vendor/uri/lib/uri/ftp.rb +267 -0
  324. data/lib/bundler/vendor/uri/lib/uri/generic.rb +1592 -0
  325. data/lib/bundler/vendor/uri/lib/uri/http.rb +137 -0
  326. data/lib/bundler/vendor/uri/lib/uri/https.rb +23 -0
  327. data/lib/bundler/vendor/uri/lib/uri/ldap.rb +261 -0
  328. data/lib/bundler/vendor/uri/lib/uri/ldaps.rb +22 -0
  329. data/lib/bundler/vendor/uri/lib/uri/mailto.rb +293 -0
  330. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +547 -0
  331. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +206 -0
  332. data/lib/bundler/vendor/uri/lib/uri/version.rb +6 -0
  333. data/lib/bundler/vendor/uri/lib/uri/ws.rb +83 -0
  334. data/lib/bundler/vendor/uri/lib/uri/wss.rb +23 -0
  335. data/lib/bundler/vendor/uri/lib/uri.rb +104 -0
  336. data/lib/bundler/vendored_fileutils.rb +4 -0
  337. data/lib/bundler/vendored_net_http.rb +23 -0
  338. data/lib/bundler/vendored_persistent.rb +11 -0
  339. data/lib/bundler/vendored_pub_grub.rb +4 -0
  340. data/lib/bundler/vendored_securerandom.rb +12 -0
  341. data/lib/bundler/vendored_thor.rb +8 -0
  342. data/lib/bundler/vendored_timeout.rb +12 -0
  343. data/lib/bundler/vendored_tsort.rb +4 -0
  344. data/lib/bundler/vendored_uri.rb +21 -0
  345. data/lib/bundler/version.rb +21 -0
  346. data/lib/bundler/vlad.rb +4 -0
  347. data/lib/bundler/worker.rb +125 -0
  348. data/lib/bundler/yaml_serializer.rb +98 -0
  349. data/lib/bundler.rb +691 -0
  350. metadata +409 -0
@@ -0,0 +1,10 @@
1
+ bundle-env(1) -- Print information about the environment Bundler is running under
2
+ =================================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle env`
7
+
8
+ ## DESCRIPTION
9
+
10
+ Prints information about the environment Bundler is running under.
@@ -0,0 +1,104 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-EXEC" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-exec\fR \- Execute a command in the context of the bundle
6
+ .SH "SYNOPSIS"
7
+ \fBbundle exec\fR [\-\-gemfile=GEMFILE] \fIcommand\fR
8
+ .SH "DESCRIPTION"
9
+ This command executes the command, making all gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] available to \fBrequire\fR in Ruby programs\.
10
+ .P
11
+ Essentially, if you would normally have run something like \fBrspec spec/my_spec\.rb\fR, and you want to use the gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] and installed via bundle install(1) \fIbundle\-install\.1\.html\fR, you should run \fBbundle exec rspec spec/my_spec\.rb\fR\.
12
+ .P
13
+ Note that \fBbundle exec\fR does not require that an executable is available on your shell's \fB$PATH\fR\.
14
+ .SH "OPTIONS"
15
+ .TP
16
+ \fB\-\-gemfile=GEMFILE\fR
17
+ Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
18
+ .SH "BUNDLE INSTALL \-\-BINSTUBS"
19
+ If you use the \fB\-\-binstubs\fR flag in bundle install(1) \fIbundle\-install\.1\.html\fR, Bundler will automatically create a directory (which defaults to \fBapp_root/bin\fR) containing all of the executables available from gems in the bundle\.
20
+ .P
21
+ After using \fB\-\-binstubs\fR, \fBbin/rspec spec/my_spec\.rb\fR is identical to \fBbundle exec rspec spec/my_spec\.rb\fR\.
22
+ .SH "ENVIRONMENT MODIFICATIONS"
23
+ \fBbundle exec\fR makes a number of changes to the shell environment, then executes the command you specify in full\.
24
+ .IP "\(bu" 4
25
+ make sure that it's still possible to shell out to \fBbundle\fR from inside a command invoked by \fBbundle exec\fR (using \fB$BUNDLE_BIN_PATH\fR)
26
+ .IP "\(bu" 4
27
+ put the directory containing executables (like \fBrails\fR, \fBrspec\fR, \fBrackup\fR) for your bundle on \fB$PATH\fR
28
+ .IP "\(bu" 4
29
+ make sure that if bundler is invoked in the subshell, it uses the same \fBGemfile\fR (by setting \fBBUNDLE_GEMFILE\fR)
30
+ .IP "\(bu" 4
31
+ add \fB\-rbundler/setup\fR to \fB$RUBYOPT\fR, which makes sure that Ruby programs invoked in the subshell can see the gems in the bundle
32
+ .IP "" 0
33
+ .P
34
+ It also modifies Rubygems:
35
+ .IP "\(bu" 4
36
+ disallow loading additional gems not in the bundle
37
+ .IP "\(bu" 4
38
+ modify the \fBgem\fR method to be a no\-op if a gem matching the requirements is in the bundle, and to raise a \fBGem::LoadError\fR if it's not
39
+ .IP "\(bu" 4
40
+ Define \fBGem\.refresh\fR to be a no\-op, since the source index is always frozen when using bundler, and to prevent gems from the system leaking into the environment
41
+ .IP "\(bu" 4
42
+ Override \fBGem\.bin_path\fR to use the gems in the bundle, making system executables work
43
+ .IP "\(bu" 4
44
+ Add all gems in the bundle into Gem\.loaded_specs
45
+ .IP "" 0
46
+ .P
47
+ Finally, \fBbundle exec\fR also implicitly modifies \fBGemfile\.lock\fR if the lockfile and the Gemfile do not match\. Bundler needs the Gemfile to determine things such as a gem's groups, \fBautorequire\fR, and platforms, etc\., and that information isn't stored in the lockfile\. The Gemfile and lockfile must be synced in order to \fBbundle exec\fR successfully, so \fBbundle exec\fR updates the lockfile beforehand\.
48
+ .SS "Loading"
49
+ By default, when attempting to \fBbundle exec\fR to a file with a ruby shebang, Bundler will \fBKernel\.load\fR that file instead of using \fBKernel\.exec\fR\. For the vast majority of cases, this is a performance improvement\. In a rare few cases, this could cause some subtle side\-effects (such as dependence on the exact contents of \fB$0\fR or \fB__FILE__\fR) and the optimization can be disabled by enabling the \fBdisable_exec_load\fR setting\.
50
+ .SS "Shelling out"
51
+ Any Ruby code that opens a subshell (like \fBsystem\fR, backticks, or \fB%x{}\fR) will automatically use the current Bundler environment\. If you need to shell out to a Ruby command that is not part of your current bundle, use the \fBwith_unbundled_env\fR method with a block\. Any subshells created inside the block will be given the environment present before Bundler was activated\. For example, Homebrew commands run Ruby, but don't work inside a bundle:
52
+ .IP "" 4
53
+ .nf
54
+ Bundler\.with_unbundled_env do
55
+ `brew install wget`
56
+ end
57
+ .fi
58
+ .IP "" 0
59
+ .P
60
+ Using \fBwith_unbundled_env\fR is also necessary if you are shelling out to a different bundle\. Any Bundler commands run in a subshell will inherit the current Gemfile, so commands that need to run in the context of a different bundle also need to use \fBwith_unbundled_env\fR\.
61
+ .IP "" 4
62
+ .nf
63
+ Bundler\.with_unbundled_env do
64
+ Dir\.chdir "/other/bundler/project" do
65
+ `bundle exec \./script`
66
+ end
67
+ end
68
+ .fi
69
+ .IP "" 0
70
+ .P
71
+ Bundler provides convenience helpers that wrap \fBsystem\fR and \fBexec\fR, and they can be used like this:
72
+ .IP "" 4
73
+ .nf
74
+ Bundler\.unbundled_system('brew install wget')
75
+ Bundler\.unbundled_exec('brew install wget')
76
+ .fi
77
+ .IP "" 0
78
+ .SH "RUBYGEMS PLUGINS"
79
+ At present, the Rubygems plugin system requires all files named \fBrubygems_plugin\.rb\fR on the load path of \fIany\fR installed gem when any Ruby code requires \fBrubygems\.rb\fR\. This includes executables installed into the system, like \fBrails\fR, \fBrackup\fR, and \fBrspec\fR\.
80
+ .P
81
+ Since Rubygems plugins can contain arbitrary Ruby code, they commonly end up activating themselves or their dependencies\.
82
+ .P
83
+ For instance, the \fBgemcutter 0\.5\fR gem depended on \fBjson_pure\fR\. If you had that version of gemcutter installed (even if you \fIalso\fR had a newer version without this problem), Rubygems would activate \fBgemcutter 0\.5\fR and \fBjson_pure <latest>\fR\.
84
+ .P
85
+ If your Gemfile(5) also contained \fBjson_pure\fR (or a gem with a dependency on \fBjson_pure\fR), the latest version on your system might conflict with the version in your Gemfile(5), or the snapshot version in your \fBGemfile\.lock\fR\.
86
+ .P
87
+ If this happens, bundler will say:
88
+ .IP "" 4
89
+ .nf
90
+ You have already activated json_pure 1\.4\.6 but your Gemfile
91
+ requires json_pure 1\.4\.3\. Consider using bundle exec\.
92
+ .fi
93
+ .IP "" 0
94
+ .P
95
+ In this situation, you almost certainly want to remove the underlying gem with the problematic gem plugin\. In general, the authors of these plugins (in this case, the \fBgemcutter\fR gem) have released newer versions that are more careful in their plugins\.
96
+ .P
97
+ You can find a list of all the gems containing gem plugins by running
98
+ .IP "" 4
99
+ .nf
100
+ ruby \-e "puts Gem\.find_files('rubygems_plugin\.rb')"
101
+ .fi
102
+ .IP "" 0
103
+ .P
104
+ At the very least, you should remove all but the newest version of each gem plugin, and also remove all gem plugins that you aren't using (\fBgem uninstall gem_name\fR)\.
@@ -0,0 +1,150 @@
1
+ bundle-exec(1) -- Execute a command in the context of the bundle
2
+ ================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle exec` [--gemfile=GEMFILE] <command>
7
+
8
+ ## DESCRIPTION
9
+
10
+ This command executes the command, making all gems specified in the
11
+ [`Gemfile(5)`][Gemfile(5)] available to `require` in Ruby programs.
12
+
13
+ Essentially, if you would normally have run something like
14
+ `rspec spec/my_spec.rb`, and you want to use the gems specified
15
+ in the [`Gemfile(5)`][Gemfile(5)] and installed via [bundle install(1)](bundle-install.1.html), you
16
+ should run `bundle exec rspec spec/my_spec.rb`.
17
+
18
+ Note that `bundle exec` does not require that an executable is
19
+ available on your shell's `$PATH`.
20
+
21
+ ## OPTIONS
22
+
23
+ * `--gemfile=GEMFILE`:
24
+ Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
25
+
26
+ ## BUNDLE INSTALL --BINSTUBS
27
+
28
+ If you use the `--binstubs` flag in [bundle install(1)](bundle-install.1.html), Bundler will
29
+ automatically create a directory (which defaults to `app_root/bin`)
30
+ containing all of the executables available from gems in the bundle.
31
+
32
+ After using `--binstubs`, `bin/rspec spec/my_spec.rb` is identical
33
+ to `bundle exec rspec spec/my_spec.rb`.
34
+
35
+ ## ENVIRONMENT MODIFICATIONS
36
+
37
+ `bundle exec` makes a number of changes to the shell environment,
38
+ then executes the command you specify in full.
39
+
40
+ * make sure that it's still possible to shell out to `bundle`
41
+ from inside a command invoked by `bundle exec` (using
42
+ `$BUNDLE_BIN_PATH`)
43
+ * put the directory containing executables (like `rails`, `rspec`,
44
+ `rackup`) for your bundle on `$PATH`
45
+ * make sure that if bundler is invoked in the subshell, it uses
46
+ the same `Gemfile` (by setting `BUNDLE_GEMFILE`)
47
+ * add `-rbundler/setup` to `$RUBYOPT`, which makes sure that
48
+ Ruby programs invoked in the subshell can see the gems in
49
+ the bundle
50
+
51
+ It also modifies Rubygems:
52
+
53
+ * disallow loading additional gems not in the bundle
54
+ * modify the `gem` method to be a no-op if a gem matching
55
+ the requirements is in the bundle, and to raise a
56
+ `Gem::LoadError` if it's not
57
+ * Define `Gem.refresh` to be a no-op, since the source
58
+ index is always frozen when using bundler, and to
59
+ prevent gems from the system leaking into the environment
60
+ * Override `Gem.bin_path` to use the gems in the bundle,
61
+ making system executables work
62
+ * Add all gems in the bundle into Gem.loaded_specs
63
+
64
+ Finally, `bundle exec` also implicitly modifies `Gemfile.lock` if the lockfile
65
+ and the Gemfile do not match. Bundler needs the Gemfile to determine things
66
+ such as a gem's groups, `autorequire`, and platforms, etc., and that
67
+ information isn't stored in the lockfile. The Gemfile and lockfile must be
68
+ synced in order to `bundle exec` successfully, so `bundle exec`
69
+ updates the lockfile beforehand.
70
+
71
+ ### Loading
72
+
73
+ By default, when attempting to `bundle exec` to a file with a ruby shebang,
74
+ Bundler will `Kernel.load` that file instead of using `Kernel.exec`. For the
75
+ vast majority of cases, this is a performance improvement. In a rare few cases,
76
+ this could cause some subtle side-effects (such as dependence on the exact
77
+ contents of `$0` or `__FILE__`) and the optimization can be disabled by enabling
78
+ the `disable_exec_load` setting.
79
+
80
+ ### Shelling out
81
+
82
+ Any Ruby code that opens a subshell (like `system`, backticks, or `%x{}`) will
83
+ automatically use the current Bundler environment. If you need to shell out to
84
+ a Ruby command that is not part of your current bundle, use the
85
+ `with_unbundled_env` method with a block. Any subshells created inside the block
86
+ will be given the environment present before Bundler was activated. For
87
+ example, Homebrew commands run Ruby, but don't work inside a bundle:
88
+
89
+ Bundler.with_unbundled_env do
90
+ `brew install wget`
91
+ end
92
+
93
+ Using `with_unbundled_env` is also necessary if you are shelling out to a different
94
+ bundle. Any Bundler commands run in a subshell will inherit the current
95
+ Gemfile, so commands that need to run in the context of a different bundle also
96
+ need to use `with_unbundled_env`.
97
+
98
+ Bundler.with_unbundled_env do
99
+ Dir.chdir "/other/bundler/project" do
100
+ `bundle exec ./script`
101
+ end
102
+ end
103
+
104
+ Bundler provides convenience helpers that wrap `system` and `exec`, and they
105
+ can be used like this:
106
+
107
+ Bundler.unbundled_system('brew install wget')
108
+ Bundler.unbundled_exec('brew install wget')
109
+
110
+
111
+ ## RUBYGEMS PLUGINS
112
+
113
+ At present, the Rubygems plugin system requires all files
114
+ named `rubygems_plugin.rb` on the load path of _any_ installed
115
+ gem when any Ruby code requires `rubygems.rb`. This includes
116
+ executables installed into the system, like `rails`, `rackup`,
117
+ and `rspec`.
118
+
119
+ Since Rubygems plugins can contain arbitrary Ruby code, they
120
+ commonly end up activating themselves or their dependencies.
121
+
122
+ For instance, the `gemcutter 0.5` gem depended on `json_pure`.
123
+ If you had that version of gemcutter installed (even if
124
+ you _also_ had a newer version without this problem), Rubygems
125
+ would activate `gemcutter 0.5` and `json_pure <latest>`.
126
+
127
+ If your Gemfile(5) also contained `json_pure` (or a gem
128
+ with a dependency on `json_pure`), the latest version on
129
+ your system might conflict with the version in your
130
+ Gemfile(5), or the snapshot version in your `Gemfile.lock`.
131
+
132
+ If this happens, bundler will say:
133
+
134
+ You have already activated json_pure 1.4.6 but your Gemfile
135
+ requires json_pure 1.4.3. Consider using bundle exec.
136
+
137
+ In this situation, you almost certainly want to remove the
138
+ underlying gem with the problematic gem plugin. In general,
139
+ the authors of these plugins (in this case, the `gemcutter`
140
+ gem) have released newer versions that are more careful in
141
+ their plugins.
142
+
143
+ You can find a list of all the gems containing gem plugins
144
+ by running
145
+
146
+ ruby -e "puts Gem.find_files('rubygems_plugin.rb')"
147
+
148
+ At the very least, you should remove all but the newest
149
+ version of each gem plugin, and also remove all gem plugins
150
+ that you aren't using (`gem uninstall gem_name`).
@@ -0,0 +1,22 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-FUND" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
6
+ .SH "SYNOPSIS"
7
+ \fBbundle fund\fR [\fIOPTIONS\fR]
8
+ .SH "DESCRIPTION"
9
+ \fBbundle fund\fR lists information about gems seeking funding assistance\.
10
+ .SH "OPTIONS"
11
+ .TP
12
+ \fB\-\-group=<list>\fR, \fB\-g=<list>\fR
13
+ Fetch funding information for a specific group\.
14
+ .SH "EXAMPLES"
15
+ .nf
16
+ # Lists funding information for all gems
17
+ bundle fund
18
+
19
+ # Lists funding information for a specific group
20
+ bundle fund \-\-group=security
21
+ .fi
22
+
@@ -0,0 +1,25 @@
1
+ bundle-fund(1) -- Lists information about gems seeking funding assistance
2
+ =========================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle fund` [*OPTIONS*]
7
+
8
+ ## DESCRIPTION
9
+
10
+ **bundle fund** lists information about gems seeking funding assistance.
11
+
12
+ ## OPTIONS
13
+
14
+ * `--group=<list>`, `-g=<list>`:
15
+ Fetch funding information for a specific group.
16
+
17
+ ## EXAMPLES
18
+
19
+ ```
20
+ # Lists funding information for all gems
21
+ bundle fund
22
+
23
+ # Lists funding information for a specific group
24
+ bundle fund --group=security
25
+ ```
@@ -0,0 +1,107 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-GEM" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
6
+ .SH "SYNOPSIS"
7
+ \fBbundle gem\fR \fIGEM_NAME\fR \fIOPTIONS\fR
8
+ .SH "DESCRIPTION"
9
+ Generates a directory named \fBGEM_NAME\fR with a \fBRakefile\fR, \fBGEM_NAME\.gemspec\fR, and other supporting files and directories that can be used to develop a rubygem with that name\.
10
+ .P
11
+ Run \fBrake \-T\fR in the resulting project for a list of Rake tasks that can be used to test and publish the gem to rubygems\.org\.
12
+ .P
13
+ The generated project skeleton can be customized with OPTIONS, as explained below\. Note that these options can also be specified via Bundler's global configuration file using the following names:
14
+ .IP "\(bu" 4
15
+ \fBgem\.coc\fR
16
+ .IP "\(bu" 4
17
+ \fBgem\.mit\fR
18
+ .IP "\(bu" 4
19
+ \fBgem\.test\fR
20
+ .IP "" 0
21
+ .SH "OPTIONS"
22
+ .TP
23
+ \fB\-\-exe\fR, \fB\-\-bin\fR, \fB\-b\fR
24
+ Specify that Bundler should create a binary executable (as \fBexe/GEM_NAME\fR) in the generated rubygem project\. This binary will also be added to the \fBGEM_NAME\.gemspec\fR manifest\. This behavior is disabled by default\.
25
+ .TP
26
+ \fB\-\-no\-exe\fR
27
+ Do not create a binary (overrides \fB\-\-exe\fR specified in the global config)\.
28
+ .TP
29
+ \fB\-\-coc\fR
30
+ Add a \fBCODE_OF_CONDUCT\.md\fR file to the root of the generated project\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
31
+ .TP
32
+ \fB\-\-no\-coc\fR
33
+ Do not create a \fBCODE_OF_CONDUCT\.md\fR (overrides \fB\-\-coc\fR specified in the global config)\.
34
+ .TP
35
+ \fB\-\-changelog\fR
36
+ Add a \fBCHANGELOG\.md\fR file to the root of the generated project\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\. Update the default with \fBbundle config set \-\-global gem\.changelog <true|false>\fR\.
37
+ .TP
38
+ \fB\-\-no\-changelog\fR
39
+ Do not create a \fBCHANGELOG\.md\fR (overrides \fB\-\-changelog\fR specified in the global config)\.
40
+ .TP
41
+ \fB\-\-ext=c\fR, \fB\-\-ext=go\fR, \fB\-\-ext=rust\fR
42
+ Add boilerplate for C, Go (currently go\-gem\-wrapper \fIhttps://github\.com/ruby\-go\-gem/go\-gem\-wrapper\fR based) or Rust (currently magnus \fIhttps://docs\.rs/magnus\fR based) extension code to the generated project\. This behavior is disabled by default\.
43
+ .TP
44
+ \fB\-\-no\-ext\fR
45
+ Do not add extension code (overrides \fB\-\-ext\fR specified in the global config)\.
46
+ .TP
47
+ \fB\-\-git\fR
48
+ Initialize a git repo inside your library\.
49
+ .TP
50
+ \fB\-\-github\-username=GITHUB_USERNAME\fR
51
+ Fill in GitHub username on README so that you don't have to do it manually\. Set a default with \fBbundle config set \-\-global gem\.github_username <your_username>\fR\.
52
+ .TP
53
+ \fB\-\-mit\fR
54
+ Add an MIT license to a \fBLICENSE\.txt\fR file in the root of the generated project\. Your name from the global git config is used for the copyright statement\. If this option is unspecified, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
55
+ .TP
56
+ \fB\-\-no\-mit\fR
57
+ Do not create a \fBLICENSE\.txt\fR (overrides \fB\-\-mit\fR specified in the global config)\.
58
+ .TP
59
+ \fB\-t\fR, \fB\-\-test=minitest\fR, \fB\-\-test=rspec\fR, \fB\-\-test=test\-unit\fR
60
+ Specify the test framework that Bundler should use when generating the project\. Acceptable values are \fBminitest\fR, \fBrspec\fR and \fBtest\-unit\fR\. The \fBGEM_NAME\.gemspec\fR will be configured and a skeleton test/spec directory will be created based on this option\. Given no option is specified:
61
+ .IP
62
+ When Bundler is configured to generate tests, this defaults to Bundler's global config setting \fBgem\.test\fR\.
63
+ .IP
64
+ When Bundler is configured to not generate tests, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
65
+ .IP
66
+ When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
67
+ .TP
68
+ \fB\-\-no\-test\fR
69
+ Do not use a test framework (overrides \fB\-\-test\fR specified in the global config)\.
70
+ .TP
71
+ \fB\-\-ci\fR, \fB\-\-ci=circle\fR, \fB\-\-ci=github\fR, \fB\-\-ci=gitlab\fR
72
+ Specify the continuous integration service that Bundler should use when generating the project\. Acceptable values are \fBgithub\fR, \fBgitlab\fR and \fBcircle\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
73
+ .IP
74
+ When Bundler is configured to generate CI files, this defaults to Bundler's global config setting \fBgem\.ci\fR\.
75
+ .IP
76
+ When Bundler is configured to not generate CI files, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
77
+ .IP
78
+ When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
79
+ .TP
80
+ \fB\-\-no\-ci\fR
81
+ Do not use a continuous integration service (overrides \fB\-\-ci\fR specified in the global config)\.
82
+ .TP
83
+ \fB\-\-linter\fR, \fB\-\-linter=rubocop\fR, \fB\-\-linter=standard\fR
84
+ Specify the linter and code formatter that Bundler should add to the project's development dependencies\. Acceptable values are \fBrubocop\fR and \fBstandard\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
85
+ .IP
86
+ When Bundler is configured to add a linter, this defaults to Bundler's global config setting \fBgem\.linter\fR\.
87
+ .IP
88
+ When Bundler is configured not to add a linter, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
89
+ .IP
90
+ When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler's global config for future \fBbundle gem\fR use\.
91
+ .TP
92
+ \fB\-\-no\-linter\fR
93
+ Do not add a linter (overrides \fB\-\-linter\fR specified in the global config)\.
94
+ .TP
95
+ \fB\-\-edit=EDIT\fR, \fB\-e=EDIT\fR
96
+ Open the resulting GEM_NAME\.gemspec in EDIT, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
97
+ .TP
98
+ \fB\-\-bundle\fR
99
+ Run \fBbundle install\fR after creating the gem\.
100
+ .TP
101
+ \fB\-\-no\-bundle\fR
102
+ Do not run \fBbundle install\fR after creating the gem\.
103
+ .SH "SEE ALSO"
104
+ .IP "\(bu" 4
105
+ bundle config(1) \fIbundle\-config\.1\.html\fR
106
+ .IP "" 0
107
+
@@ -0,0 +1,150 @@
1
+ bundle-gem(1) -- Generate a project skeleton for creating a rubygem
2
+ ===================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle gem` <GEM_NAME> [OPTIONS]
7
+
8
+ ## DESCRIPTION
9
+
10
+ Generates a directory named `GEM_NAME` with a `Rakefile`, `GEM_NAME.gemspec`,
11
+ and other supporting files and directories that can be used to develop a
12
+ rubygem with that name.
13
+
14
+ Run `rake -T` in the resulting project for a list of Rake tasks that can be used
15
+ to test and publish the gem to rubygems.org.
16
+
17
+ The generated project skeleton can be customized with OPTIONS, as explained
18
+ below. Note that these options can also be specified via Bundler's global
19
+ configuration file using the following names:
20
+
21
+ * `gem.coc`
22
+ * `gem.mit`
23
+ * `gem.test`
24
+
25
+ ## OPTIONS
26
+
27
+ * `--exe`, `--bin`, `-b`:
28
+ Specify that Bundler should create a binary executable (as `exe/GEM_NAME`)
29
+ in the generated rubygem project. This binary will also be added to the
30
+ `GEM_NAME.gemspec` manifest. This behavior is disabled by default.
31
+
32
+ * `--no-exe`:
33
+ Do not create a binary (overrides `--exe` specified in the global config).
34
+
35
+ * `--coc`:
36
+ Add a `CODE_OF_CONDUCT.md` file to the root of the generated project. If
37
+ this option is unspecified, an interactive prompt will be displayed and the
38
+ answer will be saved in Bundler's global config for future `bundle gem` use.
39
+
40
+ * `--no-coc`:
41
+ Do not create a `CODE_OF_CONDUCT.md` (overrides `--coc` specified in the
42
+ global config).
43
+
44
+ * `--changelog`:
45
+ Add a `CHANGELOG.md` file to the root of the generated project. If
46
+ this option is unspecified, an interactive prompt will be displayed and the
47
+ answer will be saved in Bundler's global config for future `bundle gem` use.
48
+ Update the default with `bundle config set --global gem.changelog <true|false>`.
49
+
50
+ * `--no-changelog`:
51
+ Do not create a `CHANGELOG.md` (overrides `--changelog` specified in the
52
+ global config).
53
+
54
+ * `--ext=c`, `--ext=go`, `--ext=rust`:
55
+ Add boilerplate for C, Go (currently [go-gem-wrapper](https://github.com/ruby-go-gem/go-gem-wrapper) based) or Rust (currently [magnus](https://docs.rs/magnus) based) extension code to the generated project. This behavior
56
+ is disabled by default.
57
+
58
+ * `--no-ext`:
59
+ Do not add extension code (overrides `--ext` specified in the global
60
+ config).
61
+
62
+ * `--git`:
63
+ Initialize a git repo inside your library.
64
+
65
+ * `--github-username=GITHUB_USERNAME`:
66
+ Fill in GitHub username on README so that you don't have to do it manually. Set a default with `bundle config set --global gem.github_username <your_username>`.
67
+
68
+ * `--mit`:
69
+ Add an MIT license to a `LICENSE.txt` file in the root of the generated
70
+ project. Your name from the global git config is used for the copyright
71
+ statement. If this option is unspecified, an interactive prompt will be
72
+ displayed and the answer will be saved in Bundler's global config for future
73
+ `bundle gem` use.
74
+
75
+ * `--no-mit`:
76
+ Do not create a `LICENSE.txt` (overrides `--mit` specified in the global
77
+ config).
78
+
79
+ * `-t`, `--test=minitest`, `--test=rspec`, `--test=test-unit`:
80
+ Specify the test framework that Bundler should use when generating the
81
+ project. Acceptable values are `minitest`, `rspec` and `test-unit`. The
82
+ `GEM_NAME.gemspec` will be configured and a skeleton test/spec directory will
83
+ be created based on this option. Given no option is specified:
84
+
85
+ When Bundler is configured to generate tests, this defaults to Bundler's
86
+ global config setting `gem.test`.
87
+
88
+ When Bundler is configured to not generate tests, an interactive prompt will
89
+ be displayed and the answer will be used for the current rubygem project.
90
+
91
+ When Bundler is unconfigured, an interactive prompt will be displayed and
92
+ the answer will be saved in Bundler's global config for future `bundle gem`
93
+ use.
94
+
95
+ * `--no-test`:
96
+ Do not use a test framework (overrides `--test` specified in the global
97
+ config).
98
+
99
+ * `--ci`, `--ci=circle`, `--ci=github`, `--ci=gitlab`:
100
+ Specify the continuous integration service that Bundler should use when
101
+ generating the project. Acceptable values are `github`, `gitlab`
102
+ and `circle`. A configuration file will be generated in the project directory.
103
+ Given no option is specified:
104
+
105
+ When Bundler is configured to generate CI files, this defaults to Bundler's
106
+ global config setting `gem.ci`.
107
+
108
+ When Bundler is configured to not generate CI files, an interactive prompt
109
+ will be displayed and the answer will be used for the current rubygem project.
110
+
111
+ When Bundler is unconfigured, an interactive prompt will be displayed and
112
+ the answer will be saved in Bundler's global config for future `bundle gem`
113
+ use.
114
+
115
+ * `--no-ci`:
116
+ Do not use a continuous integration service (overrides `--ci` specified in
117
+ the global config).
118
+
119
+ * `--linter`, `--linter=rubocop`, `--linter=standard`:
120
+ Specify the linter and code formatter that Bundler should add to the
121
+ project's development dependencies. Acceptable values are `rubocop` and
122
+ `standard`. A configuration file will be generated in the project directory.
123
+ Given no option is specified:
124
+
125
+ When Bundler is configured to add a linter, this defaults to Bundler's
126
+ global config setting `gem.linter`.
127
+
128
+ When Bundler is configured not to add a linter, an interactive prompt
129
+ will be displayed and the answer will be used for the current rubygem project.
130
+
131
+ When Bundler is unconfigured, an interactive prompt will be displayed and
132
+ the answer will be saved in Bundler's global config for future `bundle gem`
133
+ use.
134
+
135
+ * `--no-linter`:
136
+ Do not add a linter (overrides `--linter` specified in the global config).
137
+
138
+ * `--edit=EDIT`, `-e=EDIT`:
139
+ Open the resulting GEM_NAME.gemspec in EDIT, or the default editor if not
140
+ specified. The default is `$BUNDLER_EDITOR`, `$VISUAL`, or `$EDITOR`.
141
+
142
+ * `--bundle`:
143
+ Run `bundle install` after creating the gem.
144
+
145
+ * `--no-bundle`:
146
+ Do not run `bundle install` after creating the gem.
147
+
148
+ ## SEE ALSO
149
+
150
+ * [bundle config(1)](bundle-config.1.html)
@@ -0,0 +1,9 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-HELP" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-help\fR \- Displays detailed help for each subcommand
6
+ .SH "SYNOPSIS"
7
+ \fBbundle help\fR [COMMAND]
8
+ .SH "DESCRIPTION"
9
+ Displays detailed help for the given subcommand\. You can specify a single \fBCOMMAND\fR at the same time\. When \fBCOMMAND\fR is omitted, help for \fBhelp\fR command will be displayed\.
@@ -0,0 +1,12 @@
1
+ bundle-help(1) -- Displays detailed help for each subcommand
2
+ ============================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle help` [COMMAND]
7
+
8
+ ## DESCRIPTION
9
+
10
+ Displays detailed help for the given subcommand.
11
+ You can specify a single `COMMAND` at the same time.
12
+ When `COMMAND` is omitted, help for `help` command will be displayed.
@@ -0,0 +1,17 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-INFO" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-info\fR \- Show information for the given gem in your bundle
6
+ .SH "SYNOPSIS"
7
+ \fBbundle info\fR [GEM_NAME] [\-\-path] [\-\-version]
8
+ .SH "DESCRIPTION"
9
+ Given a gem name present in your bundle, print the basic information about it such as homepage, version, path and summary\.
10
+ .SH "OPTIONS"
11
+ .TP
12
+ \fB\-\-path\fR
13
+ Print the path of the given gem
14
+ .TP
15
+ \fB\-\-version\fR
16
+ Print gem version
17
+
@@ -0,0 +1,21 @@
1
+ bundle-info(1) -- Show information for the given gem in your bundle
2
+ ===================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle info` [GEM_NAME]
7
+ [--path]
8
+ [--version]
9
+
10
+ ## DESCRIPTION
11
+
12
+ Given a gem name present in your bundle, print the basic information about it
13
+ such as homepage, version, path and summary.
14
+
15
+ ## OPTIONS
16
+
17
+ * `--path`:
18
+ Print the path of the given gem
19
+
20
+ * `--version`:
21
+ Print gem version
@@ -0,0 +1,20 @@
1
+ .\" generated with Ronn-NG/v0.10.1
2
+ .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
+ .TH "BUNDLE\-INIT" "1" "April 2026" ""
4
+ .SH "NAME"
5
+ \fBbundle\-init\fR \- Generates a Gemfile into the current working directory
6
+ .SH "SYNOPSIS"
7
+ \fBbundle init\fR [\-\-gemspec=FILE]
8
+ .SH "DESCRIPTION"
9
+ Init generates a default [\fBGemfile(5)\fR][Gemfile(5)] in the current working directory\. When adding a [\fBGemfile(5)\fR][Gemfile(5)] to a gem with a gemspec, the \fB\-\-gemspec\fR option will automatically add each dependency listed in the gemspec file to the newly created [\fBGemfile(5)\fR][Gemfile(5)]\.
10
+ .SH "OPTIONS"
11
+ .TP
12
+ \fB\-\-gemspec=GEMSPEC\fR
13
+ Use the specified \.gemspec to create the [\fBGemfile(5)\fR][Gemfile(5)]
14
+ .TP
15
+ \fB\-\-gemfile=GEMFILE\fR
16
+ Use the specified name for the gemfile instead of \fBGemfile\fR
17
+ .SH "FILES"
18
+ Included in the default [\fBGemfile(5)\fR][Gemfile(5)] generated is the line \fB# frozen_string_literal: true\fR\. This is a magic comment supported for the first time in Ruby 2\.3\. The presence of this line results in all string literals in the file being implicitly frozen\.
19
+ .SH "SEE ALSO"
20
+ Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR