aboutsummaryrefslogtreecommitdiffstats
path: root/spec/README.md
diff options
context:
space:
mode:
authoreregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-17 11:22:55 +0000
committereregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-17 11:22:55 +0000
commita88e5cccba965f1c90d264641a9310a9267836b6 (patch)
tree479662e56ca40970be80ed728e3a55f0317bc6da /spec/README.md
parent1630728e9d83e4b2f4fc2f772cd6a953156b3614 (diff)
downloadruby-a88e5cccba965f1c90d264641a9310a9267836b6.tar.gz
Add a note how to run specs under older Ruby versions
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec/README.md')
-rw-r--r--spec/README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/README.md b/spec/README.md
index 6ab1589af9..7f2b827a1f 100644
--- a/spec/README.md
+++ b/spec/README.md
@@ -22,6 +22,13 @@ Currently, the only module which is MRI-specific is `RubyVM`.
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: