Pin up rspec version.
Replace conditionals with try/rescue blocks.