<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/spec/bundler/commands/exec_spec.rb, 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>Add SIGABRT to reserved signals in bundler spec</title>
<updated>2025-11-24T22:32:53+00:00</updated>
<author>
<name>Peter Zhu</name>
<email>peter@peterzhu.ca</email>
</author>
<published>2025-11-24T01:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=35445a736f509e6edbba8a08d8e4af69c206368a'/>
<id>35445a736f509e6edbba8a08d8e4af69c206368a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Improve error messages and handling in tests</title>
<updated>2025-11-20T22:02:28+00:00</updated>
<author>
<name>eileencodes</name>
<email>eileencodes@gmail.com</email>
</author>
<published>2025-11-19T17:08:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=cb9c7a6a0a451fc158055145d0bce4891b62e32f'/>
<id>cb9c7a6a0a451fc158055145d0bce4891b62e32f</id>
<content type='text'>
This is a first pass to improve the way errors are handled and raised in
bundler's tests. The goal is to clean up tests and modernize them -
these were some obvious areas that could be cleaned up.

- Instead of raising "ZOMG" in the load error tests, it now tests for
the actual error and gem raising.
- Improve error messages where applicable.
- All errors raise a specific error class, rather than falling back to a
default and just setting a message.
- Removed arguments and `bundle_dir` option from `TheBundle` class as it wasn't
actually used so therefore we don't need to raise an error for extra
arguments.
- Removed error from `BundlerBuilder`, as it won't work if it's not
`bundler`, also it never uses `name`. The only reaon `name` is passed
in is because of metaprogramming on loading the right builder. I
think that should eventually be refactored.
- Replaced and removed `update_repo3` and `update_repo4` in favor of
just `build_repo3` and `build_repo4`. Rather than tell someone writing
tests to use a different method, automatically use the right method.

https://github.com/ruby/rubygems/commit/68c39c8451
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is a first pass to improve the way errors are handled and raised in
bundler's tests. The goal is to clean up tests and modernize them -
these were some obvious areas that could be cleaned up.

- Instead of raising "ZOMG" in the load error tests, it now tests for
the actual error and gem raising.
- Improve error messages where applicable.
- All errors raise a specific error class, rather than falling back to a
default and just setting a message.
- Removed arguments and `bundle_dir` option from `TheBundle` class as it wasn't
actually used so therefore we don't need to raise an error for extra
arguments.
- Removed error from `BundlerBuilder`, as it won't work if it's not
`bundler`, also it never uses `name`. The only reaon `name` is passed
in is because of metaprogramming on loading the right builder. I
think that should eventually be refactored.
- Replaced and removed `update_repo3` and `update_repo4` in favor of
just `build_repo3` and `build_repo4`. Rather than tell someone writing
tests to use a different method, automatically use the right method.

https://github.com/ruby/rubygems/commit/68c39c8451
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Now ruby/rubygems is the canonical repository url</title>
<updated>2025-10-20T06:52:54+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-10-20T01:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=22ceaf278f66db8e30c0b20aef34750a6de4f3e5'/>
<id>22ceaf278f66db8e30c0b20aef34750a6de4f3e5</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/c637007e91
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/c637007e91
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] add loading support on Windows</title>
<updated>2025-09-25T23:27:15+00:00</updated>
<author>
<name>sodacris</name>
<email>wjxa20152015@gmail.com</email>
</author>
<published>2024-11-18T05:04:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=a1a1c9080ff5a948762da54962412c407304f41c'/>
<id>a1a1c9080ff5a948762da54962412c407304f41c</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/04574ba59a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/04574ba59a
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] skip checking title on Windows because it's not supported</title>
<updated>2025-09-25T23:27:13+00:00</updated>
<author>
<name>sodacris</name>
<email>wjxa20152015@gmail.com</email>
</author>
<published>2025-01-04T02:48:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=b600c95dc1b9aff1b49743be7d007649bc38c643'/>
<id>b600c95dc1b9aff1b49743be7d007649bc38c643</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/fd2c54f371
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/fd2c54f371
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Don't create an empty bundled_app when setting up deps</title>
<updated>2025-07-25T02:10:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-07-23T15:41:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=63c422377543a8d8ec8efc4aacb6c0f1a8533ff7'/>
<id>63c422377543a8d8ec8efc4aacb6c0f1a8533ff7</id>
<content type='text'>
Running everything in `bundled_app` by default causes the `bundled_app`
helper to be used everytime, and that will create a scoped bundled_app
folder if it does not exist. That causes `bin/rake spec:deps` to create
an empty `tmp/2.1/bundled_app` folder which is a bit weird.

This commit changes specs to not switch to a (possibly empty)
bundled_app directory when not necessary (for example, when running
`gem` commands in order to setup test dependencies).

https://github.com/rubygems/rubygems/commit/4bf89c0705
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Running everything in `bundled_app` by default causes the `bundled_app`
helper to be used everytime, and that will create a scoped bundled_app
folder if it does not exist. That causes `bin/rake spec:deps` to create
an empty `tmp/2.1/bundled_app` folder which is a bit weird.

This commit changes specs to not switch to a (possibly empty)
bundled_app directory when not necessary (for example, when running
`gem` commands in order to setup test dependencies).

https://github.com/rubygems/rubygems/commit/4bf89c0705
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] `bundle exec` does not need artifice in general</title>
<updated>2025-06-24T03:10:50+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-19T16:36:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c115e3d974ce6f4cb5212d4c5ca7de5e7706a1b6'/>
<id>c115e3d974ce6f4cb5212d4c5ca7de5e7706a1b6</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/cb1f19573a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/cb1f19573a
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Fix running gem commands in a `bundle exec` context</title>
<updated>2025-06-19T01:23:36+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-16T19:56:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=6d8460e0a04f50665ce817cf87a5e7d1b542dc8d'/>
<id>6d8460e0a04f50665ce817cf87a5e7d1b542dc8d</id>
<content type='text'>
They should only load plugins from gems in the bundle.

https://github.com/rubygems/rubygems/commit/a229507820
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They should only load plugins from gems in the bundle.

https://github.com/rubygems/rubygems/commit/a229507820
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Improve more exec specs to avoid swallowing errors</title>
<updated>2025-06-06T01:09:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-05T09:57:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3ba066e54f9bfae053ca4baac90a4f745166a507'/>
<id>3ba066e54f9bfae053ca4baac90a4f745166a507</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/439e9bcf81
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/439e9bcf81
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Improve `bundle exec` with default gems specs</title>
<updated>2025-06-06T01:09:14+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-06-05T08:53:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3b2d068ac2250fae91bd4b433b8ce393615ddc86'/>
<id>3b2d068ac2250fae91bd4b433b8ce393615ddc86</id>
<content type='text'>
Make them more consistent and not silently pass even if something
regresses. These specs had a typo that made the assertion be that the
`erb --version` output includes the empty string which is always
obviously true.

https://github.com/rubygems/rubygems/commit/451e07c305
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make them more consistent and not silently pass even if something
regresses. These specs had a typo that made the assertion be that the
`erb --version` output includes the empty string which is always
obviously true.

https://github.com/rubygems/rubygems/commit/451e07c305
</pre>
</div>
</content>
</entry>
</feed>
