ruby-changes:52205
From: eregon <ko1@a...>
Date: Fri, 17 Aug 2018 20:23:00 +0900 (JST)
Subject: [ruby-changes:52205] eregon:r64413 (trunk): Add a note how to run specs under older Ruby versions
eregon 2018-08-17 20:22:55 +0900 (Fri, 17 Aug 2018) New Revision: 64413 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64413 Log: Add a note how to run specs under older Ruby versions Modified files: trunk/spec/README.md Index: spec/README.md =================================================================== --- spec/README.md (revision 64412) +++ spec/README.md (revision 64413) @@ -22,6 +22,13 @@ Currently, the only module which is MRI- https://github.com/ruby/ruby/blob/trunk/spec/README.md#L22 Version guards (`ruby_version_is`) must be added for new features or features which change behavior or are removed. See `spec/ruby/CONTRIBUTING.md` for details. +To verify specs are compatible with older Ruby versions: +``` +cd spec/ruby +$RUBY_MANAGER use 2.3.7 +../mspec/bin/mspec -j +``` + ## Running ruby/spec To run all specs: -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/