<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/lib/rubygems/ext, branch v4.0.3</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge RubyGems/Bundler 4.0.5</title>
<updated>2026-02-10T01:38:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2026-02-10T01:07:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=87b544b8c4400ef2b37405f132846e5c3738213b'/>
<id>87b544b8c4400ef2b37405f132846e5c3738213b</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] Pass down value of `BUNDLE_JOBS` to RubyGems before compiling:</title>
<updated>2025-12-16T04:21:49+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-12-08T21:02:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9f593156b6184718a65f99905e6b07002058ebe6'/>
<id>9f593156b6184718a65f99905e6b07002058ebe6</id>
<content type='text'>
- ### Problem

  Since https://github.com/ruby/rubygems/pull/9131, we are now
  compiling make rules simultaneously. The number of jobs
  is equal to the number of processors.
  This may be problematic for some users as they want to control
  this value.

  ### Solution

  The number of jobs passed to `make` will now be equal to the
  `BUNDLE_JOBS` value.

  ### Side note

  It's also worth to note that since Bundler installs gems in
  parallel, we may end up running multiple `make -j&lt;JOB&gt;` in parallel
  which would cause exhaust the number of processors we have.
  This problem can be fixed by implementing a GNU jobserver, which I
  plan to do. But I felt that this would be too much change in one PR.

https://github.com/ruby/rubygems/commit/d51995deb9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- ### Problem

  Since https://github.com/ruby/rubygems/pull/9131, we are now
  compiling make rules simultaneously. The number of jobs
  is equal to the number of processors.
  This may be problematic for some users as they want to control
  this value.

  ### Solution

  The number of jobs passed to `make` will now be equal to the
  `BUNDLE_JOBS` value.

  ### Side note

  It's also worth to note that since Bundler installs gems in
  parallel, we may end up running multiple `make -j&lt;JOB&gt;` in parallel
  which would cause exhaust the number of processors we have.
  This problem can be fixed by implementing a GNU jobserver, which I
  plan to do. But I felt that this would be too much change in one PR.

https://github.com/ruby/rubygems/commit/d51995deb9
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/rubygems] Also use String#include? for RUBY_PLATFORM</title>
<updated>2025-11-29T02:06:53+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-29T01:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=82b91ec7e55cb5ef4acd61213843614542bea3b3'/>
<id>82b91ec7e55cb5ef4acd61213843614542bea3b3</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/5fd95f38d3
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/5fd95f38d3
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixup with mswin and nmake build for -j flag</title>
<updated>2025-11-29T01:02:25+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-29T00:05:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=34290048be4a480437bbfff3dc5d8bf93e495d9b'/>
<id>34290048be4a480437bbfff3dc5d8bf93e495d9b</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] Use String#include? with suggested by Performance/StringInclude cop</title>
<updated>2025-11-28T23:43:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-28T22:18:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=f18bedaf96d950a69ae18df9a7eeea6754224c20'/>
<id>f18bedaf96d950a69ae18df9a7eeea6754224c20</id>
<content type='text'>
https://github.com/ruby/rubygems/commit/fdd3419144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/rubygems/commit/fdd3419144
</pre>
</div>
</content>
</entry>
<entry>
<title>nmake didn't support -j flag</title>
<updated>2025-11-28T22:06:24+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2025-11-28T22:06:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7bd80e7e3e3dbb724616c038e6e0944128d6f905'/>
<id>7bd80e7e3e3dbb724616c038e6e0944128d6f905</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] Add `MAKEFLAGS=-j` by default before compiling:</title>
<updated>2025-11-28T21:01:44+00:00</updated>
<author>
<name>Edouard CHIN</name>
<email>chin.edouard@gmail.com</email>
</author>
<published>2025-11-28T01:08:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=413d15a3440abf570fc4bff24fe4b5ee8b7880a5'/>
<id>413d15a3440abf570fc4bff24fe4b5ee8b7880a5</id>
<content type='text'>
- Depending on the native extension, it can greatly reduce compilation
  time when executing recipes simultaneously.

  For example on Prism:

  ```
  # Before

  time gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  gem install prism  3.61s user 0.80s system 95% cpu 4.595 total
  ```

  ```
  # After

  time MAKEFLAGS="-j" gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  MAKEFLAGS="-j" gem install prism  4.47s user 1.27s system 246% cpu 2.330 total
  ```

  I don't think adding `-j` as a default is harmful, but I'm admitedly
  not very knowledgable when it comes to compiler.

https://github.com/ruby/rubygems/commit/61340081c6

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Depending on the native extension, it can greatly reduce compilation
  time when executing recipes simultaneously.

  For example on Prism:

  ```
  # Before

  time gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  gem install prism  3.61s user 0.80s system 95% cpu 4.595 total
  ```

  ```
  # After

  time MAKEFLAGS="-j" gem install prism
  Building native extensions. This could take a while...
  Successfully installed prism-1.6.0
  1 gem installed

  MAKEFLAGS="-j" gem install prism  4.47s user 1.27s system 246% cpu 2.330 total
  ```

  I don't think adding `-j` as a default is harmful, but I'm admitedly
  not very knowledgable when it comes to compiler.

https://github.com/ruby/rubygems/commit/61340081c6

Co-authored-by: Aaron Patterson &lt;tenderlove@ruby-lang.org&gt;
</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] :Revamp CmakeBuilder to fix the issues described in #8572. Specifically:</title>
<updated>2025-10-17T08:24:02+00:00</updated>
<author>
<name>Charlie Savage</name>
<email>cfis@savagexi.com</email>
</author>
<published>2025-06-06T06:30:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5ced99dddb384762a79c9aa07de130e460479f06'/>
<id>5ced99dddb384762a79c9aa07de130e460479f06</id>
<content type='text'>
* Correctly pass command line arguments to CMake
* Call CMake twice - once to configure a project and a second time to build (which is the standard way to use CMake). This fixes the previously incorrect assumption that CMake generates a Make file.
* Update the tests to specify a CMake minimum version of 3.26 (which is already two years old). 3.26 is a bit arbritary but it aligns with Rice, and updates from the ancient 3.5 version being used (which CMake generates a warning message saying stop using it!)
* Update the CMake call to use CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY to tell CMake to copy compiled binaries to the a Gem's lib directory.

Note the updated builder took inspiration from the Cargo Builder, meaning you first create an instance of CmakeBuilder versus just calling class methods.

https://github.com/rubygems/rubygems/commit/9e248d4679
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Correctly pass command line arguments to CMake
* Call CMake twice - once to configure a project and a second time to build (which is the standard way to use CMake). This fixes the previously incorrect assumption that CMake generates a Make file.
* Update the tests to specify a CMake minimum version of 3.26 (which is already two years old). 3.26 is a bit arbritary but it aligns with Rice, and updates from the ancient 3.5 version being used (which CMake generates a warning message saying stop using it!)
* Update the CMake call to use CMAKE_RUNTIME_OUTPUT_DIRECTORY and CMAKE_LIBRARY_OUTPUT_DIRECTORY to tell CMake to copy compiled binaries to the a Gem's lib directory.

Note the updated builder took inspiration from the Cargo Builder, meaning you first create an instance of CmakeBuilder versus just calling class methods.

https://github.com/rubygems/rubygems/commit/9e248d4679
</pre>
</div>
</content>
</entry>
<entry>
<title>[rubygems/rubygems] Use spaces around optional parameter values</title>
<updated>2025-08-18T03:31:51+00:00</updated>
<author>
<name>David Rodríguez</name>
<email>deivid.rodriguez@riseup.net</email>
</author>
<published>2025-08-11T20:02:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7125f7635d43f67b1664bf85e72a34d868259822'/>
<id>7125f7635d43f67b1664bf85e72a34d868259822</id>
<content type='text'>
https://github.com/rubygems/rubygems/commit/b58829a868
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/rubygems/rubygems/commit/b58829a868
</pre>
</div>
</content>
</entry>
</feed>
