Add check for Rails in raven:test rake task