5

What version of the rspec-rails gem is still compatible with Rails 2.3 branch (2.3.14 specifically)? I've tried 2.1.0, but that one's also for Rails >= 3.0. Any other dependencies or version limitations that I should be aware of?

Thanks.

sa125
  • 28,121
  • 38
  • 111
  • 153
  • I've answered below, but obviously you should try to upgrade Rails first. There have been many changes between RSpec 1 and RSpec 2, you will fight an uphill battle trying to get it all working, and you will lock yourself into a legacy version. But RSpec 1 is for Rails 2, RSpec 2 is for Rails 3. – Joost Baaij Feb 22 '12 at 21:33

1 Answers1

10

Version 1.3.4 is the latest supported version for Rails 2.x.

http://rubygems.org/gems/rspec-rails/versions/1.3.4

Joost Baaij
  • 7,538
  • 3
  • 32
  • 34