Skip to content

Instantly share code, notes, and snippets.

This document aims to help aggregate issues and solutions around the defaultContainer deprecation.

The Error Message:

Using the defaultContainer is no longer supported. [defaultContainer#lookup]

breaux, where's my defaultContainer?

Well it is still there, and will continue to work for some time. Likely it will be gone by 1.0.0 final

@pivotal-medici
pivotal-medici / nokogiri_https.rb
Created July 10, 2012 18:57 — forked from kinopyo/nokogiri_https.rb
nokogiri parse https url
require 'net/https'
require 'nokogiri'
url = "https://example.com"
url = URI.parse( url )
http = Net::HTTP.new( url.host, url.port )
http.use_ssl = true if url.port == 443
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if url.port == 443
path = url.path
path += "?" + url.query unless url.query.nil?
@pivotal-medici
pivotal-medici / libcouchbase.rb
Created June 8, 2012 13:31 — forked from davidjrice/libcouchbase.rb
Homebrew recipe for libcouchbase 1.1.0.dp2
require 'formula'
class Libcouchbase < Formula
homepage 'http://couchbase.com/develop/c/next'
url 'http://packages.couchbase.com/clients/c/libcouchbase-1.1.0dp4.tar.gz'
md5 '546025c8f5e0aaa8f57bb350f2949694'
depends_on 'libevent'
depends_on 'libvbucket'