mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
1630728e9d
commit
a88e5cccba
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue