[前][次][番号順一覧][スレッド一覧]

ruby-changes:46365

From: eregon <ko1@a...>
Date: Tue, 25 Apr 2017 21:45:41 +0900 (JST)
Subject: [ruby-changes:46365] eregon:r58479 (trunk): Use require_relative to load rbconfig in default.mspec

eregon	2017-04-25 21:45:36 +0900 (Tue, 25 Apr 2017)

  New Revision: 58479

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=58479

  Log:
    Use require_relative to load rbconfig in default.mspec
    
    * Otherwise it would load it twice.

  Modified files:
    trunk/spec/default.mspec
Index: spec/default.mspec
===================================================================
--- spec/default.mspec	(revision 58478)
+++ spec/default.mspec	(revision 58479)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/spec/default.mspec#L1
 # -*- ruby -*-
-load "./rbconfig.rb"
+require_relative "../rbconfig"
 load File.dirname(__FILE__) + '/rubyspec/default.mspec'
 OBJDIR = File.expand_path("spec/rubyspec/optional/capi/ext")
 class MSpecScript

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]