<commit_before>require 'bundler/capistrano'
require 'rvm/capistrano'
require 'capistrano-unicorn'

set :application, 'gemador.com'
set :repository,  'git://github.com/mgwidmann/gemador.git'

set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`

set :user, :deployer
set :use_sudo, false
set :deploy_to, "/var/www/#{application}"
#set :deploy_via, :remote_cache
set :default_shell, '/bin/bash -l'
set :rvm_ruby_string, :local
set :rails_env, ENV['RAILS_ENV']

role :web, 'gemador-staging'                          # Your HTTP server, Apache/etc
role :app, 'gemador-staging'                          # This may be the same as your `Web` server
role :db,  'genador-staging', :primary => true # This is where Rails migrations will run

before 'deploy:setup', 'rvm:install_rvm'
after 'deploy:update_code', 'deploy:migrate'
after 'deploy:restart', 'unicorn:restart'<commit_msg>Whops don't commit the ip address.... keep in /etc/hosts dude!<commit_after>require 'bundler/capistrano'
require 'rvm/capistrano'
require 'capistrano-unicorn'

set :application, 'gemador.com'
set :repository,  'git://github.com/mgwidmann/gemador.git'

set :scm, :git # You can set :scm explicitly or Capistrano will make an intelligent guess based on known version control directory names
# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`

set :user, :deployer
set :use_sudo, false
set :deploy_to, "/var/www/#{application}"
#set :deploy_via, :remote_cache
set :default_shell, '/bin/bash -l'
set :rvm_ruby_string, :local
set :rails_env, ENV['RAILS_ENV']

role :web, 'gemador-staging'                          # Your HTTP server, Apache/etc
role :app, 'gemador-staging'                          # This may be the same as your `Web` server
role :db,  'gemador-staging', :primary => true # This is where Rails migrations will run

before 'deploy:setup', 'rvm:install_rvm'
after 'deploy:update_code', 'deploy:migrate'
after 'deploy:restart', 'unicorn:restart'
{'fraction_non_alphanumeric': 0.13587715216379712, 'fraction_numerical': 0.0, 'mean_word_length': 4.456852791878172, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7343281', 'n_tokens_mistral': 749, 'n_tokens_neox': 726, 'n_words': 222}