changed gems version for rails 4 support