Fix running Cucumber tests on Rails 4.0.0 and Ruby 1.9.2