Update Rails 4 version regex.