Vít Ondruch
05a6c9c8f3
Upgrade to Ruby 3.3.0.
...
Resolves: rhbz#2255918
2024-01-02 18:52:33 +01:00
Vít Ondruch
5fd12c42e7
Cache Gem.default_dir
...
RubyGems do internally the same \[[1]\]. This should help with:
1) Performance (not tested)
2) Running RubyGems test suite (main motivation), which actually
overrides the `@default_dir` \[[2]\] to be able to place test content
into dedicated directory.
[1]: f8e87eba76/lib/rubygems/defaults.rb (L38)
[2]: f8e87eba76/test/rubygems/helper.rb (L372)
2023-11-03 17:12:13 +01:00
Pavel Valena
5bf57b1504
Fix: return default path with nonexistent home dir
2018-10-23 13:12:19 +02:00
Vít Ondruch
c2db65dbc7
Upgrade to Ruby 2.5.0.
2018-01-03 12:07:19 +01:00
Vít Ondruch
4c12d4e704
Upgrade to Ruby 2.3.0.
2016-01-05 11:00:48 +01:00
Vít Ondruch
351bd6cd02
Initialize all load paths in operating_system.rb
2015-02-04 13:54:20 +01:00
Vít Ondruch
329ba54c7e
Make operating_system.rb more robust.
...
This avoids issues with incomplete rbconfig.rb such as:
https://bugs.ruby-lang.org/issues/10822
2015-02-03 14:47:18 +01:00
Vít Ondruch
76bbf0976d
ConfigMap was deprecated in favor or RbConfig.
...
1d2feefde4
2015-02-03 10:30:45 +01:00
Vít Ondruch
19ff4992f3
Detect if rubygems are running under rpmbuild.
...
This allows to install binaryi extensions on suitable place and clears
the .spec files a bit.
2014-01-10 14:53:57 +01:00
Vít Ondruch
360d2b99cd
Upgrade to Ruby 2.1.0 (r44266).
2013-12-18 11:50:54 +01:00
Vít Ondruch
7a3d8e78c6
Fix RubyGems search paths when building gems with native extension (rhbz#979133).
2013-07-04 14:47:55 +02:00
Vít Ondruch
b0d63dbf0f
Avoid "method redefined;" warnings due to modified operating_system.rb.
...
Fix strange paths created during build of binary gems.
2013-03-05 08:35:05 +01:00
Vít Ondruch
cd4b136636
Move rubygems native extension from gems/exts into gems/%{name}.
...
This allows to provide native extensions for alternative
implementations.
2013-02-22 14:18:26 +01:00
Vít Ondruch
117278abd0
Update to Ruby 1.9.3.
2012-01-18 15:54:01 +01:00