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

ruby-changes:46476

From: eregon <ko1@a...>
Date: Sun, 7 May 2017 21:01:05 +0900 (JST)
Subject: [ruby-changes:46476] eregon:r58592 (trunk): * spec/default.mspec: only require rbconfig if is it not already.

eregon	2017-05-07 21:00:58 +0900 (Sun, 07 May 2017)

  New Revision: 58592

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

  Log:
    * spec/default.mspec: only require rbconfig if is it not already.
      Useful when running spec/mspec/bin/mspec directly.

  Modified files:
    trunk/spec/default.mspec
Index: spec/default.mspec
===================================================================
--- spec/default.mspec	(revision 58591)
+++ spec/default.mspec	(revision 58592)
@@ -1,5 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/spec/default.mspec#L1
 # -*- ruby -*-
-require "./rbconfig.rb"
+require "./rbconfig" unless defined?(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/

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