Skip to content

Commit 2e4ee51

Browse files
authored
Update README.md
[skip ci]
1 parent 63a54a3 commit 2e4ee51

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,35 @@ Use **[`rspec-rails` 1.x][]** for Rails 2.x.
2020
[Ruby on Rails]: https://rubyonrails.org/
2121
[`rspec-rails` 1.x]: https://github.com/dchelimsky/rspec-rails
2222

23+
## Important note for using 3.9.x
24+
25+
Development of the 3.x versions of `rspec-rails` **has ended**. The last release was `3.9.1`.
26+
27+
Prior to version 4 of `rspec-rails`, it required the same "major minor" pair of other RSpec
28+
gems. So you may need to run:
29+
30+
```
31+
bundle update rspec-rails rspec-core rspec-mocks rspec-expectations rspec-support
32+
```
33+
34+
To change to the 3.9.x series of `rspec-rails`.
35+
2336
## Installation
2437

2538
1. Add `rspec-rails` to **both** the `:development` and `:test` groups
2639
of your app’s `Gemfile`:
2740

2841
```ruby
29-
# Run against the latest stable release
42+
# Run against the last stable release in 3.9.x, see the `main` branch
43+
# for instructions for the current release of `rspec-rails`.
3044
group :development, :test do
31-
gem 'rspec-rails', '~> 3.9'
45+
gem 'rspec-rails', '~> 3.9.1'
3246
end
3347

34-
# Or, run against the maintenance branch
35-
# (requires the same maintenance branch for all related RSpec libraries)
36-
# Note that 3.9 is end of life and all changes have been released.
48+
# Or, run against the maintenance branch (requires the same
49+
# maintenance branch for all related RSpec libraries)
50+
#
51+
# **Note:** There are no unreleased changes in this branch, it exists for legacy builds pointing to it.
3752
group :development, :test do
3853
%w[rspec-core rspec-expectations rspec-mocks rspec-rails rspec-support].each do |lib|
3954
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => '3-9-maintenance'

0 commit comments

Comments
 (0)