This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
| # A sample Gemfile | |
| source "http://rubygems.org" | |
| gem 'rake', '= 0.8.7' | |
| gem 'mysql', '~> 2.8.1' | |
| gem 'rack', '= 1.1.0' | |
| gem 'rails', '~> 2.3.11' | |
| gem 'authlogic', '= 2.0.14' | |
| gem 'will_paginate', '~> 2.3.15' | |
| gem 'activemerchant', '= 1.4.2', :require => 'active_merchant' |
This file contains hidden or 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
| # On Heroku | |
| # Create dump file | |
| heroku pgbackups:capture --app <application_name> | |
| # On Engine Yard slice | |
| # Get dump file from heroku | |
| curl -o latest.dump `heroku pgbackups:url b005 --app <application_name> -e <environment>` | |
| # drop and recreate database | |
| bundle exec rake db:drop |
This file contains hidden or 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
| klickitat:beercounter mattkern(master)$ heroku apps | |
| === My Apps | |
| flunky | |
| glacial-gorge-1334 | |
| gtlist | |
| gtlist-prod | |
| tranquil-fjord-3537 | |
| klickitat:beercounter mattkern(master)$ heroku apps:rename beercounter | |
| Renaming tranquil-fjord-3537 to beercounter... failed |