bug in deploy.rb