fixed requirements for rails 4