diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-04-22 13:56:16 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 54ae3f587ed42f425edc7ec741702ac764429c5d (patch) | |
tree | 531c32040889fc2c48f205bda39ad6c5402dd6cc /lib/rubygems/package_task.rb | |
parent | f6803d2411de002c00f1bacc756e412407bc61ed (diff) | |
download | ruby-54ae3f587ed42f425edc7ec741702ac764429c5d.tar.gz |
[rubygems/rubygems] Prefer `require_relative` to `require` for internal requires
https://github.com/rubygems/rubygems/commit/c74fc58695
Diffstat (limited to 'lib/rubygems/package_task.rb')
-rw-r--r-- | lib/rubygems/package_task.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rubygems/package_task.rb b/lib/rubygems/package_task.rb index d5a2885a64..bb48616b0e 100644 --- a/lib/rubygems/package_task.rb +++ b/lib/rubygems/package_task.rb @@ -20,8 +20,8 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -require 'rubygems' -require 'rubygems/package' +require_relative '../rubygems' +require_relative 'package' require 'rake/packagetask' ## |