<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/bundler/man/bundle-gem.1.ronn, branch v4.0.4</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/rubygems] Add `--ext=go` to `bundle gem`</title>
<updated>2025-11-19T00:47:07+00:00</updated>
<author>
<name>Go Sueyoshi</name>
<email>sue445@users.noreply.github.com</email>
</author>
<published>2025-11-19T00:46:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4423facbffd5bd523541ebf42dc274272b1de732'/>
<id>4423facbffd5bd523541ebf42dc274272b1de732</id>
<content type='text'>
(https://github.com/ruby/rubygems/pull/8183)

* Add new gem templates

* Add `--ext=go` in `bundle gem`

* Add setup-go to .github/workflows/main.yml

* Embed go version in go.mod

* Use go in bundler CI

* Add example method to template

* Install Go in .circleci/config.yml

* Install Go in .gitlab-ci.yml

* Allow hard tabs in go template

* Run `rake update_manifest`

* Fix test

* Move go_gem to gemspec

Respect to 9b0ec80

* nits: :golf:

* includes valid module name in go.mod

* generate header file

* Run `go mod tidy` to create `go.sum`

* Check if `go.sum` is generated only when Go is installed

To avoid test failure in environments where Go is not installed

* Run CI

* Workaround for hung up

c.f. https://github.com/rubygems/rubygems/actions/runs/11639408044/job/32415545422

* Write man for --ext=go

* Re-generate man with `./bin/rake man:build`

* pinning :pushpin:

* Update with `./bin/rake man:build`

* nits: Extract to method

* nits: Use `sys_exec` instead of `system`

* Clean go module cache after test

Workaround following error

```
1) bundle gem gem naming with underscore --ext parameter set with go includes go_gem extension in extconf.rb
   Failure/Error: FileUtils.rm_r(dir)

   Errno::EACCES:
     Permission denied @ apply2files - /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
   # ./spec/support/helpers.rb:37:in `block in reset!'
   # ./spec/support/helpers.rb:21:in `each'
   # ./spec/support/helpers.rb:21:in `reset!'
   # ./spec/spec_helper.rb:130:in `block (2 levels) in &lt;top (required)&gt;'
   # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `load'
   # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `activate_and_load_bin_path'
```

Files installed with `go get` have permissions set to 444
ref. https://github.com/golang/go/issues/35615

```
$ ls -l /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
-r--r--r-- 1 runner runner 42320 Nov 15 06:38 /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
```

So they cannot be deleted by `FileUtils.rm_r`.
Therefore, this is necessary to execute `go clean -modcache` separately from `FileUtils.rm_r` to circumvent it.

* Remove needless changes

ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532902051

* ci: setup-go is needless

* Don't run go command in `bundle gem`

ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532765470

* Revert unrelated date changes

---------

https://github.com/ruby/rubygems/commit/260d7d60b3

Co-authored-by: Hiroshi SHIBATA &lt;hsbt@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/rubygems/pull/8183)

* Add new gem templates

* Add `--ext=go` in `bundle gem`

* Add setup-go to .github/workflows/main.yml

* Embed go version in go.mod

* Use go in bundler CI

* Add example method to template

* Install Go in .circleci/config.yml

* Install Go in .gitlab-ci.yml

* Allow hard tabs in go template

* Run `rake update_manifest`

* Fix test

* Move go_gem to gemspec

Respect to 9b0ec80

* nits: :golf:

* includes valid module name in go.mod

* generate header file

* Run `go mod tidy` to create `go.sum`

* Check if `go.sum` is generated only when Go is installed

To avoid test failure in environments where Go is not installed

* Run CI

* Workaround for hung up

c.f. https://github.com/rubygems/rubygems/actions/runs/11639408044/job/32415545422

* Write man for --ext=go

* Re-generate man with `./bin/rake man:build`

* pinning :pushpin:

* Update with `./bin/rake man:build`

* nits: Extract to method

* nits: Use `sys_exec` instead of `system`

* Clean go module cache after test

Workaround following error

```
1) bundle gem gem naming with underscore --ext parameter set with go includes go_gem extension in extconf.rb
   Failure/Error: FileUtils.rm_r(dir)

   Errno::EACCES:
     Permission denied @ apply2files - /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
   # ./spec/support/helpers.rb:37:in `block in reset!'
   # ./spec/support/helpers.rb:21:in `each'
   # ./spec/support/helpers.rb:21:in `reset!'
   # ./spec/spec_helper.rb:130:in `block (2 levels) in &lt;top (required)&gt;'
   # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `load'
   # /home/runner/work/rubygems/rubygems/lib/rubygems.rb:303:in `activate_and_load_bin_path'
```

Files installed with `go get` have permissions set to 444
ref. https://github.com/golang/go/issues/35615

```
$ ls -l /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
-r--r--r-- 1 runner runner 42320 Nov 15 06:38 /home/runner/work/rubygems/rubygems/bundler/tmp/2.2/home/go/pkg/mod/gopkg.in/yaml.v3@v3.0.1/decode_test.go
```

So they cannot be deleted by `FileUtils.rm_r`.
Therefore, this is necessary to execute `go clean -modcache` separately from `FileUtils.rm_r` to circumvent it.

* Remove needless changes

ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532902051

* ci: setup-go is needless

* Don't run go command in `bundle gem`

ref. https://github.com/ruby/rubygems/pull/8183#discussion_r2532765470

* Revert unrelated date changes

---------

https://github.com/ruby/rubygems/commit/260d7d60b3

Co-authored-by: Hiroshi SHIBATA &lt;hsbt@ruby-lang.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Complete rubocop flags and settings removal</title>
<updated>2025-09-16T08:17:32+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>2887858+deivid-rodriguez@users.noreply.github.com</email>
</author>
<published>2025-09-09T17:19:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=190a235464398c5b8f556cbf221bfaec8680e3b8'/>
<id>190a235464398c5b8f556cbf221bfaec8680e3b8</id>
<content type='text'>
If the CLI flags are used, we abort early as usual.

As per the settings, I decided to ignore them. We've been migrating them
automatically to the new name for a long time and we don't yet have a
standard way to deprecate and remove settings (we should probably use
the existing setting validators). So I think it's fine for now to do
what we normally do (ignore the setting).

https://github.com/rubygems/rubygems/commit/8311de6e69
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the CLI flags are used, we abort early as usual.

As per the settings, I decided to ignore them. We've been migrating them
automatically to the new name for a long time and we don't yet have a
standard way to deprecate and remove settings (we should probably use
the existing setting validators). So I think it's fine for now to do
what we normally do (ignore the setting).

https://github.com/rubygems/rubygems/commit/8311de6e69
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Added manpages</title>
<updated>2025-06-30T03:56:50+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-06-27T06:56:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=59585b2f43acb1273e126fe822c90ec62b4024db'/>
<id>59585b2f43acb1273e126fe822c90ec62b4024db</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/f2826dafce
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/f2826dafce
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Remove duplicate documentation for `--changelog` flag</title>
<updated>2025-06-11T23:40:51+00:00</updated>
<author>
<name>Joshua Young</name>
<email>djry1999@gmail.com</email>
</author>
<published>2025-06-09T05:18:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=8abb87b9c7cabf84615eb639a7f601a65ce7920e'/>
<id>8abb87b9c7cabf84615eb639a7f601a65ce7920e</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/9f1d07685f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/9f1d07685f
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix typos in some documentation lists making them render incorrectly</title>
<updated>2025-06-11T23:40:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-11T13:51:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3fdaa6a19cca5d4d8cf1ef7760db08b04d5c6270'/>
<id>3fdaa6a19cca5d4d8cf1ef7760db08b04d5c6270</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/19739ba71c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/19739ba71c
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Normalize CLI flag documentation and make sure all flags are documented</title>
<updated>2024-12-11T17:56:28+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-10T18:34:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cfb72138827863b4b1f8841cc3ff4adaba662fbf'/>
<id>cfb72138827863b4b1f8841cc3ff4adaba662fbf</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/20a834818b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/20a834818b
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add documentation for changelog flags in `bundle gem`</title>
<updated>2024-12-11T17:56:28+00:00</updated>
<author>
<name>Adam Leach</name>
<email>github@adamleach.uk</email>
</author>
<published>2024-11-27T19:11:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e1fcf20ea16d6603fb4ae78f0e8f1a57930e8b19'/>
<id>e1fcf20ea16d6603fb4ae78f0e8f1a57930e8b19</id>
<content type='text'>
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags

https://github.com/rubygems/rubygems/commit/92f77678fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The --changelog and --no-changelog flags are missing from docs, this adds them in a way that matches other flags

https://github.com/rubygems/rubygems/commit/92f77678fe
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add several missing flags to `bundle gem --help`</title>
<updated>2024-12-11T17:56:24+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-10T18:16:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f5ed1b56d017b8a7d67d4dd0b1d1e1a0856ac5d9'/>
<id>f5ed1b56d017b8a7d67d4dd0b1d1e1a0856ac5d9</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/aaf6398870
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/aaf6398870
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Align all header lines with titles for consistency</title>
<updated>2024-12-11T16:18:10+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2024-12-11T14:33:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=e31f6a8f8b9f9133217c03c6a612de9454da2b37'/>
<id>e31f6a8f8b9f9133217c03c6a612de9454da2b37</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/83fd1c6718
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/83fd1c6718
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Add --no-test, --no-ci, and --no-linter options</title>
<updated>2024-06-26T11:24:47+00:00</updated>
<author>
<name>Jerome Dalbert</name>
<email>jerome.dalbert@gmail.com</email>
</author>
<published>2024-06-19T18:43:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c6c817df28658bf1e8913373cbf1df0cf2c29f0d'/>
<id>c6c817df28658bf1e8913373cbf1df0cf2c29f0d</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/f58660ffcc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/f58660ffcc
</pre>
</div>
</content>
</entry>
</feed>
