Run rake rails:update:bin, and add Rails 4.x style /bin's