```ruby
# Reset Rails-specific stuff.

set :shared_children, %w()

namespace :deploy do
  task :finalize_update, :except => { :no_release => true } do
    if fetch(:group_writable, true)
      sudo "chgrp -R #{group} #{latest_release}"
      run "chmod -R g+w #{latest_release}"
    end
  end
  task :migrate do end
  task :start do end
  task :stop do end
  task :restart do end
end
```

Use :deploy_group instead of :group
user
```ruby
# Reset Rails-specific stuff.

set :shared_children, %w()

namespace :deploy do
  task :finalize_update, :except => { :no_release => true } do
    if fetch(:group_writable, true)
      sudo "chgrp -R #{deploy_group} #{latest_release}"
      run "chmod -R g+w #{latest_release}"
    end
  end
  task :migrate do end
  task :start do end
  task :stop do end
  task :restart do end
end
```
assistant