Fixing ruby script on server