title: Why can't I use Capistrano's info method in my task?
body: <p>I'd like to output something in an overridden Capistrano task using <code>info</code>, like capistrano-rails does (e.g. <a href="https://github.com/capistrano/rails/blob/b5f41b6482a0f481077f351d058307b9b29c9fac/lib/capistrano/tasks/migrations.rake#L13" rel="nofollow">here</a>).</p>
  
  <p>But with this task:</p>
  
  <pre><code>namespace :deploy do
  
    if ENV['DB_MIGRATE'] == 'skip'
      Rake::Task['deploy:migrate'].clear_actions
  
      desc "Override Capistrano's default behavior, do not migrate on deploy"
      task :migrate do
        info '[deploy:migrate] Skipping migrations due to DB_MIGRATE=skip'
      end
    end
  
  end
  </code></pre>
  
  <p>I get this error:</p>
  
  <pre><code>$ DB_MIGRATE=skip bundle exec cap staging deploy:migrate
  (Backtrace restricted to imported tasks)
  cap aborted!
  NoMethodError: undefined method `info' for main:Object
  
  Tasks: TOP =&gt; deploy:migrate
  (See full trace by running task with --trace)
  </code></pre>
  
  <p><strong>What do I have to do to use <code>info</code> in my own task?</strong></p>