<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>vendor/plugins/boxcar-conductor</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,3 @@
 load 'deploy' if respond_to?(:namespace) # cap2 differentiator
 load 'config/deploy'
-
+Dir['vendor/plugins/boxcar-conductor/tasks/*.rb'].each { |plugin| load(plugin) }</diff>
      <filename>Capfile</filename>
    </modified>
    <modified>
      <diff>@@ -1,7 +1,7 @@
 # Required for using Mongrel with Capistrano2
 #   gem install palmtree
+
 require 'palmtree/recipes/mongrel_cluster'
-require 'highline/import'
 
 ########################################################################
 # Rails Boxcar - Capistrano Deployment Recipe
@@ -14,223 +14,30 @@ set :application_name, 'rubyurl'
 
 # What is the hostname of your Rails Boxcar server?
 # Example: 
-#    set :boxcar_server, 'rc1.railsboxcar.com'
-set :boxcar_server, 'rubyurl.com'
+#   set :boxcar_server, 'rc1.railsboxcar.com'
+set :boxcar_server, '198.145.115.94'
 
 # What is the username of your Rails Boxcar user that you want
-# to deploy this application with?
-# Example:
-#   set :boxcar_username, 'johnny'
-set :boxcar_username, 'rubyurl'
-
-# Where is your source code repository?
-# Example:
-#   set :repository = 'http://svn.railsboxcar.com/my_cool_app/tags/CURRENT'
-# set :svn_username, 'rubyurl'
-# set :svn_repository_url, 'https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk'
-
-set :repository, &quot;git://github.com/robbyrussell/rubyurl.git&quot;
-set :scm, &quot;git&quot;
-# set :scm_passphrase, &quot;p00p&quot;
-
-# What database server are you using?
-# Example:
-set :database_name, { :development  =&gt; 'rubyurl_development',
-                      :test         =&gt; 'rubyurl_test',
-                      :production   =&gt; 'rubyurl_production' }
-
-
-
-
-
-
-
-
-
-
-
-
-
-######################################################################## 
-# Advanced Configuration
-# Only the courageous of ninjas dare pass this! 
-######################################################################## 
-
-role :web, boxcar_server
-role :app, boxcar_server
-role :db, boxcar_server, :primary =&gt; true
-
-# user
-set :user, boxcar_username
-set :use_sudo, false
-
-
-set :domain_names, Proc.new { HighLine.ask(&quot;What is the primary domain name?&quot;) { |q| q.default = &quot;railsboxcar.com&quot; } }
-
-
-# subversion / SCM
-# Ask the user for their subversion password
-# set :svn_password, Proc.new { HighLine.ask(&quot;What is your subversion password for #{svn_username}: &quot;) { |q| q.echo = &quot;x&quot; } }
-# set :repository, Proc.new { &quot;--username #{svn_username} &quot; + &quot;--password #{svn_password} &quot; + &quot;#{svn_repository_url}&quot; }
-# set :checkout,   'export'
-
-set :db_development,database_name[:development]
-set :db_test, database_name[:test]
-set :db_production, database_name[:production]
+# to deploy this application with? Note that you should use the same
+# username and password as you use to access your repository. This is
+# due to a limitation in Capistrano.
 
-# Prompt user to set database user/pass
-set :database_username, Proc.new { HighLine.ask(&quot;What is your database username?  &quot;) { |q| q.default = &quot;dbuser&quot; } }
-set :database_host, Proc.new { HighLine.ask(&quot;What host is your database running on?  &quot;) { |q| q.default = &quot;localhost&quot; } }
-set :database_adapter, Proc.new { 
-  choose do |menu|
-    menu.prompt = &quot;What database server will you be using?&quot;
-    menu.choices(:postgresql, :mysql) 
-  end
-}
-set :database_password, Proc.new { HighLine.ask(&quot;What is your database user's password?  &quot;) { |q| q.echo = &quot;x&quot; } }
-set :database_socket, Proc.new { HighLine.ask(&quot;Where is the MySQL socket file?  &quot;) { |q| q.default = &quot;/var/run/mysqld/mysqld.sock&quot; } }
-set :database_port, Proc.new { 
-  HighLine.ask(&quot;What port does your database run on?  &quot;) do |q| 
-    if database_adapter.to_s == &quot;postgresql&quot;
-      q.default = &quot;5432&quot; 
-    else
-      q.default = &quot;3306&quot; 
-    end
-  end
-}
+set :boxcar_username, 'borat'
 
-# directories
-set :home, &quot;/home/#{user}&quot;
-set :etc, &quot;#{home}/etc&quot;
-set :log, &quot;#{home}/log&quot;
-set :deploy_to, &quot;#{home}/sites/#{application_name}&quot;
-
-set :shared_dir, &quot;#{deploy_to}/shared&quot;
-
-# mongrel
-# What port number should your mongrel cluster start on?
-set :mongrel_port, Proc.new { HighLine.ask(&quot;What port will your mongrel cluster start with?  &quot;) { |q| q.default = &quot;8000&quot; } }
-
-# How many instances of mongrel should be in your cluster?
-set :mongrel_servers, Proc.new { 
- choose do |menu|
-    menu.prompt = &quot;How many mongrel servers should run?&quot;
-    menu.choices(1,2,3)
-  end
-}
-
-set :mongrel_conf, &quot;#{etc}/mongrel_cluster.#{application_name}.conf&quot; 
-set :mongrel_pid, &quot;#{log}/mongrel_cluster.#{application_name}.pid&quot; 
-set :mongrel_address, '127.0.0.1'
-set :mongrel_environment, :production
-
-
-# database.yml
-desc &quot;Create database.yml in shared/config&quot; 
-task :after_setup do
-  puts &quot;###########################################&quot;
-  puts &quot; Rails Boxcar - setup process&quot;
-  puts &quot;###########################################&quot;
-  puts &quot;# STEP 1: Database Configuration&quot;
-  puts &quot;###########################################&quot; 
-
-
-  today = Time.now.strftime('%b %d, %Y')
-
-  yml_comment = &lt;&lt;EOF
+# Where is your source code repository?
 #
-# Generated on #{today} for Rails Boxcar (http://railsboxcar.com)
-# 
-EOF
-
-  case database_adapter.to_s
-    when &quot;postgresql&quot;
-      database_configuration = &lt;&lt;EOF
-#{yml_comment}      
-login: &amp;login
-  adapter: #{database_adapter}
-  host: #{database_host}
-  port: #{database_port}
-  username: #{database_username}
-  password: #{database_password}
-
-development:
-  database: #{db_development}
-  &lt;&lt;: *login
-
-test:
-  database: #{db_test}
-  &lt;&lt;: *login
-
-production:
-  database: #{db_production}
-  &lt;&lt;: *login
-EOF
-
-    when &quot;mysql&quot;
-      database_configuration = &lt;&lt;EOF
-#{yml_comment}   
-login: &amp;login
-  adapter: #{database_adapter}
-  host: #{database_host}
-  port: #{database_port}
-  username: #{database_username}
-  password: #{database_password}
-  socket: #{database_socket}
-
-development:
-  database: #{db_development}
-  &lt;&lt;: *login
-
-test:
-  database: #{db_test}
-  &lt;&lt;: *login
-
-production:
-  database: #{db_production}
-  &lt;&lt;: *login
-EOF
-      
-end
-
-  mongrel_cluster_configuration = &lt;&lt;EOF
-#{yml_comment}
---- 
-port: #{mongrel_port}
-pid_file: #{mongrel_pid}
-servers: #{mongrel_servers}
-cwd: #{deploy_to}/current
-environment: production
-EOF
-
-  puts &quot;###########################################&quot;  
-  puts &quot;Step 2: Creating necessary directories on\n your Rails Boxcar!&quot;
-  puts &quot;###########################################&quot;  
-  run &quot;mkdir -p #{shared_dir}/config&quot; 
-  
-  puts &quot;###########################################&quot;  
-  puts &quot;Step 3: Uploading database.yml to Boxcar&quot;
-  puts &quot;###########################################&quot;
-    
-  # Create the database.yml file
-  put database_configuration, &quot;#{shared_dir}/config/database.yml&quot;
-
-  puts &quot;###########################################&quot;  
-  puts &quot;Step 4: Uploding mongrel cluster config to\n your Rails Boxcar.&quot;
-  puts &quot;###########################################&quot;  
-  
-  # Create mongrel cluster configuration
-  put mongrel_cluster_configuration, mongrel_conf  
-
-  puts &quot;###########################################&quot;  
-  puts &quot;DONE! Now run cap deploy:cold&quot;
-  puts &quot;###########################################&quot;  
-end
-
-desc &quot;Link in the production database.yml&quot; 
-task :after_update_code do
-  run &quot;ln -nfs #{shared_dir}/config/database.yml #{release_path}/config/database.yml&quot;
-  
-  run &quot;ln -nfs #{shared_dir}/log #{release_path}/log&quot;
-end
+# Subversion Example:
+#
+#set :user, 'rubyurl'
+#set :repository, 'https://svn.roundhaus.com/planetargon/rubyurl_2-0/trunk'
+#
+# If you won't be making any code changes on the boxcar itself, it's
+# a good idea to do an export instead of a checkout (default) so that
+# you avoid all of the .svn cruft.
+#set :deploy_via, :export
 
+#
+# Git Example:
+#   
+set :scm, &quot;git&quot;
+set :repository, &quot;git://github.com/robbyrussell/rubyurl.git&quot;</diff>
      <filename>config/deploy.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d6a9b03a8bcafb969eeeab1a65e1c35bb3c2e733</id>
    </parent>
  </parents>
  <author>
    <name>Robby Russell</name>
    <email>robby@planetargon.com</email>
  </author>
  <url>http://github.com/robbyrussell/rubyurl/commit/5431437f92ec34cf7f3590f9a33a59b42aeecfec</url>
  <id>5431437f92ec34cf7f3590f9a33a59b42aeecfec</id>
  <committed-date>2008-08-31T09:48:07-07:00</committed-date>
  <authored-date>2008-08-31T09:48:07-07:00</authored-date>
  <message>Switching to Boxcar Conductor for deployments</message>
  <tree>6718d23bd26f0b881f54c24d9ac3e4e68e54a309</tree>
  <committer>
    <name>Robby Russell</name>
    <email>robby@planetargon.com</email>
  </committer>
</commit>
