generating local bin for Rails 3 to 4 upgrade