Skip to content

Instantly share code, notes, and snippets.

View bbg-deploy's full-sized avatar

Blue Box Implementations Team bbg-deploy

View GitHub Profile
[deploy@app01 cmf]$ RAILS_ENV=production bundle exec rake init_system
MOPED: 67.214.217.42:27017 COMMAND database=admin command={:ismaster=>1} (1.3943ms)
MOPED: 208.85.148.140:27017 COMMAND database=admin command={:ismaster=>1} (1.2040ms)
MOPED: 67.214.215.188:27017 COMMAND database=admin command={:ismaster=>1} (1.1649ms)
MOPED: 67.214.215.188:27017 COMMAND database=cmf_production command={:count=>:users, :query=>{}} (0.5960ms)
MOPED: 67.214.217.42:27017 DELETE database=cmf_production collection=users selector={} flags=[] (0.0770ms)
MOPED: 67.214.215.188:27017 COMMAND database=cmf_production command={:count=>:seniors, :query=>{}} (0.4258ms)
MOPED: 67.214.217.42:27017 DELETE database=cmf_production collection=seniors selector={} flags=[] (0.0572ms)
MOPED: 208.85.148.140:27017 COMMAND database=cmf_production command={:count=>:mboxes, :query=>{}} (0.5140ms)
MOPED: 67.214.217.42:27017 DELETE database=cmf_production collection=mboxes selector={} fla
[root@stage01 /]# ps auxw | grep -i ruby
root 5920 0.0 0.9 1077876 29448 ? Sl Jul12 5:29 /usr/local/rvm/rubies/ruby-1.9.2-p180/bin/ruby /usr/local/rvm/gems/ruby-1.9.2-p180/bin/god -c /etc/god.conf.rb
root 5976 0.0 0.0 103284 868 pts/0 S+ 14:38 0:00 grep -i ruby
deploy 27771 0.0 4.1 418340 131304 ? Ssl Jul16 2:49 ruby /home/deploy/rails_apps/swipedeals/shared/bundle/ruby/1.9.1/bin/rake -f /home/deploy/rails_apps/swipedeals/current/Rakefile resque:work
deploy 27777 0.0 4.1 418348 131312 ? Ssl Jul16 2:43 ruby /home/deploy/rails_apps/swipedeals/shared/bundle/ruby/1.9.1/bin/rake -f /home/deploy/rails_apps/swipedeals/current/Rakefile resque:work
[root@stage01 /]# ps auxw | grep -i rake
root 7442 0.0 0.0 103284 868 pts/0 S+ 14:39 0:00 grep -i rake
deploy 27771 0.0 4.1 418340 131304 ? Ssl Jul16 2:49 ruby /home/deploy/rails_apps/swipedeals/shared/bundle/ruby/1.9.1/bin/rake -f /home/deploy/rails_apps/swipedeals/current/Rakefile resq
set :whenever_environment, defer { stage }
require 'capistrano/ext/multistage'
require 'bundler/capistrano'
require 'yaml'
set :whenever_command, "bundle exec whenever"
require 'whenever/capistrano'
$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
require "rvm"