This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capybara.register_driver :selenium do |app| | |
require 'selenium-webdriver' | |
profile = Selenium::WebDriver::Firefox::Profile.from_name 'default' | |
profile["extensions.firebug.currentVersion"] = "999" | |
profile.add_extension(File.expand_path("../../firebug-1.7.1.xpi", __FILE__)) | |
Capybara::Selenium::Driver.new(app, :browser => :firefox, :profile => profile) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Needed on some linux distros. | |
" see http://www.adamlowe.me/2009/12/vim-destroys-all-other-rails-editors.html | |
filetype off | |
call pathogen#runtime_append_all_bundles() | |
call pathogen#helptags() | |
syntax on | |
filetype plugin indent on | |
set nocompatible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process unicorn_commercial_api_master | |
with pidfile /var/run/engineyard/unicorn_commercial_api.pid | |
start program = "/bin/su - pvpower -c '/data/commercial_api/shared/bin/app_commercial_api start'" with timeout 65 seconds | |
stop program = "/bin/su - pvpower -c '/data/commercial_api/shared/bin/app_commercial_api stop'" with timeout 65 seconds | |
group commercial_api | |
check process unicorn_commercial_api_worker_0 | |
with pidfile /var/run/engineyard/unicorn_worker_commercial_api_0.pid | |
if totalmem is greater than 120 MB for 2 cycles then exec "/data/commercial_api/shared/bin/app_commercial_api kill_worker 0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[52/75] cxx: src/node_main.cc -> build/default/src/node_main_4.o | |
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_FDATASYNC=0 -DPLATFORM="darwin" -D__POSIX__=1 -Wno-unused-parameter -D_FORTIFY_SOURCE=2 -DNDEBUG -Idefault/src -I../src -Idefault/deps/libeio -I../deps/libeio -Idefault/deps/http_parser -I../deps/http_parser -Idefault/deps/v8/include -I../deps/v8/include -Idefault/deps/libev -I../deps/libev -Idefault/deps/c-ares -I../deps/c-ares -Idefault/deps/c-ares/darwin-x64 -I../deps/c-ares/darwin-x64 -Ideps/v8/include ../src/node_main.cc -c -o default/src/node_main_4.o | |
[53/75] cxx: src/node.cc -> build/default/src/node_4.o | |
/usr/bin/c++ -O3 -w -pipe -pthread -arch x86_64 -g -O3 -DHAVE_OPENSSL=1 -DEV_FORK_ENABLE=0 -DEV_EMBED_ENABLE=0 -DEV_MULTIPLICITY=0 -DX_STACKSIZE=65536 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DEV_MULTIPLICITY=0 -DHAVE_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*** unicorn.stderr.log *** | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/arel-2.0.9/lib/arel/select_manager.rb:65: warning: parenthesize argument(s) for future version | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/arel-2.0.9/lib/arel/select_manager.rb:136: warning: parenthesize argument(s) for future version | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/arel-2.0.9/lib/arel/select_manager.rb:169: warning: parenthesize argument(s) for future version | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/arel-2.0.9/lib/arel/nodes/node.rb:10: warning: parenthesize argument(s) for future version | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:183: warning: parenthesize argument(s) for future version | |
/data/commercial_api/shared/bundled_gems/ruby/1.8/gems/activesupport-3.0.6/lib/active_support/core_ext/string/starts_ends_with.rb:2:in `alias_method': undefined method `start_with?' for class `String' (NameError) | |
from /data/commer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Thu, 14 Apr 2011 11:50:52 -0700] INFO: Starting Chef Solo Run | |
/usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook.rb:134:in `load_recipe': Cannot find a recipe matching default in cookbook emerge (ArgumentError) | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/recipe.rb:76:in `include_recipe' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/recipe.rb:63:in `each' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/recipe.rb:63:in `include_recipe' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/recipe.rb:82:in `require_recipe' | |
from /etc/chef-custom/recipes/cookbooks/main/recipes/default.rb:1:in `from_file' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/cookbook.rb:139:in `load_recipe' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef-0.6.0.2/lib/chef/compile.rb:109:in `load_recipes' | |
from /usr/local/ey_resin/ruby/lib/ruby/gems/1.8/gems/chef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Thu, 14 Apr 2011 09:47:42 -0700] INFO: Starting Chef Solo Run | |
[Thu, 14 Apr 2011 09:47:44 -0700] INFO: {"MANPATH"=> | |
"/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/etc/java-config/system-vm/man/:/usr/share/postgresql-8.3/man:/usr/lib/erlang/man", | |
"SHELL"=>"/bin/bash", | |
"SSH_CLIENT"=>"184.73.16.162 35468 22", | |
"USER"=>"root", | |
"CONFIG_PROTECT_MASK"=> | |
"/etc/env.d/java/ /etc/udev/rules.d /etc/fonts/fonts.conf /etc/terminfo /etc/eselect/postgresql /etc/ca-certificates.conf /etc/revdep-rebuild", | |
"PAGER"=>"/usr/bin/less", | |
"MAIL"=>"/var/mail/root", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sep 23 09:33:16 tm26-s00229 ntpd[4788]: kernel time sync error 0001 | |
Sep 23 10:07:28 tm26-s00229 ntpd[4788]: kernel time sync error 0001 | |
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact cerego_user | |
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact ipmi | |
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact kgb_user | |
Sep 23 10:39:01 tm26-s00229 puppetd[3836]: Loading fact migration | |
Sep 23 10:39:02 tm26-s00229 puppetd[3836]: Retrieving plugins | |
Sep 23 10:39:02 tm26-s00229 puppetd[3836]: (/File[/var/lib/puppet/lib/facter]/checksum) checksum changed '{mtime}Tue Apr 27 09:22:03 -0700 2010' to '{mtime}Mon Aug 09 19:45:50 -0700 2010' | |
Sep 23 10:39:03 tm26-s00229 puppetd[3836]: Loading fact cerego_user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chinook:portal mattkern(master)$ cap migration_prod deploy:long | |
* executing `migration_prod' | |
* executing `deploy:long' | |
triggering before callbacks for `deploy:long' | |
* executing `deploy:notify:start' | |
* executing "curl -X POST -d \"application=portal\" http://weather.engineyard.com/`hostname`/deploy_start -fs" | |
servers: ["72.46.233.21", "72.46.233.21", "72.46.233.21"] | |
[72.46.233.21:7001] executing command | |
[72.46.233.21:7002] executing command | |
[72.46.233.21:7003] executing command |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For complete deployment instructions, see the following support guide: | |
# http://www.engineyard.com/support/guides/deploying_your_application_with_capistrano | |
require "eycap/recipes" | |
Dir[File.join(File.dirname(__FILE__), '..', 'vendor', 'gems', 'hoptoad_notifier-*')].each do |vendored_notifier| | |
$: << File.join(vendored_notifier, 'lib') | |
end | |
require 'hoptoad_notifier/capistrano' |