Skip to content

Instantly share code, notes, and snippets.

View julien51's full-sized avatar

Julien Genestoux julien51

View GitHub Profile
# chef-client -L /var/log/chef/client.log -c /etc/chef/client.rb -j superparsr-ruby-role.json
/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-deploy-0.2.5/lib/chef-deploy.rb:23:in `initialize': wrong number of arguments (3 for 2) (ArgumentError)
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-deploy-0.2.5/lib/chef-deploy.rb:23:in `initialize'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:60:in `new'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/recipe_definition_dsl_core.rb:60:in `method_missing'
from /srv/chef/cache/cookbooks/application/recipes/default.rb:8:in `from_file'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/cookbook_version.rb:316:in `load_recipe'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/chef-0.9.6/bin/../lib/chef/m
/usr/lib/ruby/1.8/chef/provider/package/rubygems.rb:89:in `with_gem_sources': undefined method `sources=' for Gem:Module (NoMethodError)
from /usr/lib/ruby/1.8/chef/provider/package/rubygems.rb:206:in `candidate_version_from_remote'
from /usr/lib/ruby/1.8/chef/provider/package/rubygems.rb:373:in `candidate_version'
from /usr/lib/ruby/1.8/chef/provider/package.rb:44:in `action_install'
from /usr/lib/ruby/1.8/chef/resource.rb:278:in `send'
from /usr/lib/ruby/1.8/chef/resource.rb:278:in `run_action'
from /var/cache/chef/cookbooks/gems/recipes/default.rb:6:in `from_file'
from /usr/lib/ruby/1.8/chef/cookbook_version.rb:316:in `load_recipe'
from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:40:in `include_recipe'
from /usr/lib/ruby/1.8/chef/mixin/language_include_recipe.rb:27:in `each'
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html class="no-js" xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml" xml:lang="en" lang="en">
<!--
/\_ \ /\_ \
__ ___ __ __ __ __ \//\ \ \//\ \ __
/'_ `\ / __`\/\ \/\ \/\ \ /'__`\ \ \ \ \ \ \ /'__`\
/\ \L\ \/\ \L\ \ \ \_/ \_/ \/\ \L\.\_ \_\ \_ \_\ \_/\ \L\.\_
\ \____ \ \____/\ \___x___/'\ \__/.\_\/\____\/\____\ \__/.\_\
superparsr1 IN A 173.45.236.133
superparsr2 IN A 173.45.225.240
superparsr3 IN A 173.45.229.198
superparsr4 IN A 173.45.229.200
superparsr5 IN A 173.45.230.10
superparsr6 IN A 173.45.229.195
superparsr7 IN A 173.45.230.59
superparsr8 IN A 173.45.230.129
superparsr9 IN A 173.45.232.116
superparsr10 IN A 173.45.232.232
#!/bin/sh
set -u
set -e
# Example init script, this can be used with nginx, too,
# since nginx and unicorn accept the same signals
# Feel free to change any of the following variables for your app:
APP_ROOT=/var/www/apps/superfeedr.com/current
PID=$APP_ROOT/tmp/pids/unicorn.pid
ENV=production
# Use at least one worker per core
worker_processes 16
# Help ensure your application will always spawn in the symlinked "current" directory that Capistrano sets up
working_directory "/var/www/apps/superfeedr.com/current"
# Listen on a Unix domain socket, use the default backlog size
listen "/tmp/unicorn.sock", :backlog => 1024
# Nuke workers after 30 seconds instead of 60 seconds (the default)
user www-data;
worker_processes 4;
error_log /var/log/nginx/error.log;
pid /var/run/nginx.pid;
events {
accept_mutex on;
worker_connections 1024;
# multi_accept on;
<item>
<title>test 333</title>
<link>http://hugohallqvist.wordpress.com/2010/03/23/test-333/</link>
<comments>http://hugohallqvist.wordpress.com/2010/03/23/test-333/#comments</comments>
<pubDate>Tue, 23 Mar 2010 10:41:50 +0000</pubDate>
<dc:creator>hugohallqvist</dc:creator>
<category><![CDATA[Uncategorized]]></category>
<guid isPermaLink="false">http://hugohallqvist.wordpress.com/?p=76</guid>
<description><![CDATA[test333 Man kan också fråga sig hur interna länkar fungerar.
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)
1)
'HubbubController extart_hubs_uri_for_feed_uri when the feed doesn't have any hub should return an empty array' FAILED
expected: [],
got: [] (using ==)