title: undefined method `run' for main:Object
body: <p>i'm getting the following output when deploying:</p>
  
  <pre><code>cap aborted!
  NoMethodError: undefined method `run' for main:Object
  config/deploy.rb:37:in `block (2 levels) in &lt;top (required)&gt;'
  /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/dsl/task_enhancements.rb:12:in `block in after'
  /var/lib/gems/1.9.1/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:in `run'
  /var/lib/gems/1.9.1/gems/capistrano-3.2.1/bin/cap:3:in `&lt;top (required)&gt;'
  Tasks: TOP =&gt; deploy:permissions
  (See full trace by running task with --trace)
  The deploy has failed with an error: #&lt;NoMethodError: undefined method `run' for main:Object&gt;
  </code></pre>
  
  <p>i'm using Capistrano Version: 3.2.1 (Rake Version: 10.3.2).
  the deploy works fine but i created a after deploy task to modify the owner of the deployed release which looks so:</p>
  
  <pre><code>namespace :deploy do
      task :permissions do
        run "chown -R :#{fetch(:group)} #{deploy_to} &amp;&amp; chmod -R g+s #{deploy_to}"
      end
  end
  
  after :deploy, "deploy:permissions"
  </code></pre>
  
  <p>vars are defined correctly (i fixed that error before) but i get this missing method error for the run method and i dont know why.</p>