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
2013-09-14 13:14:06 UTC RedisFailover 29030 INFO: Purging current redis clients | |
/var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/client/base.rb:1068:in `check_rc': inputs: {:path=>"/redis_failover/nodes"} (ZK::Exceptions::NoNode) | |
from /var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/client/base.rb:1057:in `call_and_check_rc' | |
from /var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/client/threaded.rb:579:in `call_and_check_rc' | |
from /var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/client/base.rb:457:in `block in get' | |
from /var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/event_handler.rb:304:in `block in setup_watcher!' | |
from /var/www/releases/20130913225057/vendor/bundle/ruby/2.0.0/gems/zk-1.7.5/lib/zk/event_handler.rb:311:in `block in synchronize' | |
from /usr/local/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize' | |
from /var/www/releases/20130913225057/vendor/b |
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
# Include this in your .irbrc | |
def unbundled_require(gem, options = {}) | |
if defined?(::Bundler) | |
spec_path = Dir.glob("#{Gem.dir}/specifications/#{gem}-*.gemspec").last | |
if spec_path.nil? | |
warn "Couldn't find #{gem}" | |
return | |
end | |
spec = Gem::Specification.load spec_path |
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
root@shopfauna10db0a:/var/log/chef# ifconfig | |
eth0 Link encap:Ethernet HWaddr 40:40:4e:12:8c:f4 | |
inet addr:67.207.131.142 Bcast:0.0.0.0 Mask:255.255.255.0 | |
inet6 addr: fe80::4240:4eff:fe12:8cf4/64 Scope:Link | |
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 | |
RX packets:120426 errors:0 dropped:0 overruns:0 frame:0 | |
TX packets:41365 errors:0 dropped:0 overruns:0 carrier:0 | |
collisions:0 txqueuelen:1000 | |
RX bytes:93624265 (93.6 MB) TX bytes:4157750 (4.1 MB) | |
Interrupt:44 |
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
bash -c ' | |
<%= "export http_proxy=\"#{knife_config[:bootstrap_proxy]}\"" if knife_config[:bootstrap_proxy] -%> | |
if [ ! -f /usr/bin/chef-client ]; then | |
apt-get update | |
apt-get install -y ruby1.9.1 ruby1.9.1-dev build-essential wget | |
cd /tmp | |
wget <%= "--proxy=on " if knife_config[:bootstrap_proxy] %>http://production.cf.rubygems.org/rubygems/rubygems-1.8.15.tgz | |
tar zxf rubygems-1.8.15.tgz | |
cd rubygems-1.8.15 |
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
# works great | |
class Date | |
class << self | |
alias_method :__parse, :parse | |
def parse dateString | |
# do stuff | |
__parse(dateString) | |
end | |
end | |
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
Dec 2, 2010 2:04:17 PM org.apache.solr.core.SolrDeletionPolicy onInit | |
INFO: SolrDeletionPolicy.onInit: commits:num=1 | |
commit{dir=/data/chef/solr/data/index,segFN=segments_5t5a,version=1280509000709,generation=271054,filenames=[_61ug.fdt, _61ui.fdx, _61uj.tii, _61ug.nrm, _61uj.nrm, _61uj.tis, _61ug.fdx, _61ui.fdt, _61uj.fdt, _61ud_3.del, _61ui.nrm, _61ue_2.del, segments_5t5a, _61ue.tii, _61uj.fdx, _61uf.frq, _61ue.tis, _61uf.fdx, _61uh.frq, _61ui.tis, _61uf.tis, _61uf.fdt, _61uh.tii, _61ui.tii, _61uh.tis, _61uh_2.del, _61uf.tii, _61uf_2.del, _61ui_2.del, _61uf.nrm, _61uh.fnm, _61ug_1.del, _61uk.tii, _61ud.frq, _61ue.fdt, _61uh.nrm, _61ud.tii, _61ue.fdx, _61uk.frq, _61uh.fdt, _61uk.fnm, _61ud.tis, _61uj.fnm, _61uh.fdx, _61ue.nrm, _61ud.fnm, _61uj_2.del, _61uk.nrm, _61uj.frq, _61uf.fnm, _61uk_1.del, _61ue.frq, _61uk.fdx, _61uk.tis, _61ug.tis, _61ui.fnm, _61uk.fdt, _61ug.frq, _61ud.fdx, _61ue.fnm, _61ug.tii, _61ud.fdt, _61ug.fnm, _61ui.frq] | |
Dec 2, 2010 2:04:17 PM org.apache.solr.core.SolrDeletionPolicy updateComm |
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
[Wed, 01 Dec 2010 10:34:00 -0600] ERROR: Exception handlers complete | |
[Wed, 01 Dec 2010 10:34:00 -0600] ERROR: JSON::ParserError:375: unexpected token at 'h1??;' | |
/usr/local/lib/ruby/gems/1.8/gems/json-1.4.6/lib/json/common.rb:146:in `parse' | |
/usr/local/lib/ruby/gems/1.8/gems/json-1.4.6/lib/json/common.rb:146:in `parse' | |
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest.rb:219:in `api_request' | |
/usr/local/lib/ruby/gems/1.8/gems/chef-0.9.12/bin/../lib/chef/rest.rb:284:in `retriable_rest_request' |
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
set_unless[:cookbook_support][:poll][:dir] = "/data/chef/chef_polls" |
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
load('dist/env.rhino.js'); | |
Envjs({ | |
scriptTypes : { | |
'' : true, | |
'text/javascript' : true | |
}, | |
logLevel : Envjs.DEBUG | |
}); | |
window.location = "http://localhost/iframetest/parent.html"; |
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
[root@mobileweb0xe0s ~ 02:30 PM !29]# gem list | grep open | |
open4 (1.0.1) | |
[root@mobileweb0xe0s ~ 02:30 PM !30]# irb | |
irb(main):001:0> require 'rubygems' | |
=> true | |
irb(main):002:0> require 'open4' | |
"uninitialized constant Open4" | |
"NameError" | |
=> true | |
[root@mobileweb0xe0s ~ 02:32 PM !32]# ruby -v |