updating for rails 4 bin changes