title: Create alias for production stage in Capistrano?
body: <p>I've been using Capistrano to deploy my latest project. I have a fairly simple setup, with only a production stage (it created a staging one, but I don't use it). </p>
  
  <p>I'm tired of typing <code>cap production deploy</code> to deploy my app. I really like how Rails handles this, with <code>rails c p</code> being the same as <code>rails console production</code>. I'd like to be able to type this: </p>
  
  <pre><code>cap p deploy
  </code></pre>
  
  <p>instead of the longer <code>production</code> version. </p>
  
  <p>I've tried making a simple alias:</p>
  
  <pre><code>ln production.rb p.rb
  </code></pre>
  
  <p>Running <code>cap p deploy</code> gets through almost all of the deploy steps, then dies when running Rake migrations:</p>
  
  <pre><code>INFO [03d68697] Running ~/.rvm/bin/rvm 2.2.2 do bundle exec rake db:migrate as ubuntu@mydomain.com
  DEBUG [03d68697] Command: cd /var/railsapps/metasmoke/releases/20150904155532 &amp;&amp; ( RAILS_ENV=p ~/.rvm/bin/rvm 2.2.2 do bundle exec rake db:migrate )
  DEBUG [03d68697]    Please require the stackprof gem falling back to fast_stack
  DEBUG [03d68697]    
  DEBUG [03d68697]    config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
  DEBUG [03d68697]    
  DEBUG [03d68697]      * development - set it to false
  DEBUG [03d68697]      * test - set it to false (unless you use a tool that preloads your test environment)
  DEBUG [03d68697]      * production - set it to true
  DEBUG [03d68697]    
  DEBUG [03d68697]    rake aborted!
  DEBUG [03d68697]    ActiveRecord::AdapterNotSpecified: 'p' database is not configured. Available: ["default", "development", "test", "production"]
  DEBUG [03d68697]    /var/railsapps/metasmoke/shared/bundle/ruby/2.2.0/gems/activerecord-4.2.3/lib/active_record/connection_adapters/connection_specification.rb:248:in `resolve_symbol_connection'
  </code></pre>
  
  <p>How can I do this?</p>