Skip to content

Instantly share code, notes, and snippets.

View rainerborene's full-sized avatar

Rainer Borene rainerborene

View GitHub Profile
2013/08/31 17:06:05 listening on 5572, balancing localhost
2013/08/31 17:06:05 &{{0xc200088090}}
2013/08/31 17:06:05 &{{0xc200088120}}
2013/08/31 17:06:05 &{{0xc2000881b0}}
2013/08/31 17:06:05 &{{0xc200088240}}
2013/08/31 17:06:05 &{{0xc2000882d0}}
2013/08/31 17:06:05 &{{0xc200088360}}
2013/08/31 17:06:05 &{{0xc2000883f0}}
2013/08/31 17:06:05 &{{0xc200088480}}
2013/08/31 17:06:05 &{{0xc200088510}}
package main
import (
"io"
"log"
"net"
"net/url"
"os"
"strings"
"sync"
Stacktrace (most recent call first):
File "active_record/associations/preloader/association.rb", line 88, in block in associated_records_by_owner
owners_map[owner_key].each do |owner|
File "active_record/associations/preloader/association.rb", line 85, in each
records.each do |record|
File "active_record/associations/preloader/association.rb", line 85, in associated_records_by_owner
records.each do |record|
File "active_record/associations/preloader/collection_association.rb", line 13, in preload
associated_records_by_owner.each do |owner, records|
@rainerborene
rainerborene / gist:5764865
Created June 12, 2013 12:35
active_record/connection_adapters/postgresql_adapter.rb in block in exec_query at line 663 NoMethodError: undefined method `fields' for nil:NilClass
Stacktrace (most recent call first):
File "active_record/connection_adapters/postgresql_adapter.rb", line 663, in block in exec_query
ret = ActiveRecord::Result.new(result.fields, result_as_array(result))
File "active_record/connection_adapters/abstract_adapter.rb", line 280, in block in log
:binds => binds) { yield }
File "active_support/notifications/instrumenter.rb", line 20, in instrument
yield
File "active_record/connection_adapters/abstract_adapter.rb", line 275, in log
@instrumenter.instrument(
module ActiveRecord
module ConnectionAdapters
class PostgreSQLAdapter < AbstractAdapter
alias_method :old_translate_exception, :translate_exception
def translate_exception(exception, message)
return exception unless exception.respond_to?(:result)
old_translate_exception(exception, message)
end
end
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
tar xf /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc
perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc
Configuring for darwin64-x86_64-cc
no-ec_nistp_64_gcc_128 [default] OPENSSL_NO_EC_NISTP_64_GCC_128 (skip dir)
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
Already downloaded: /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
tar xf /Library/Caches/Homebrew/openssl-1.0.1e.tar.gz
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic no-shared darwin64-x86_64-cc enable-ec_nistp_64_gcc_128
Configuring for darwin64-x86_64-cc
no-gmp [default] OPENSSL_NO_GMP (skip dir)
no-jpake [experimental] OPENSSL_NO_JPAKE (skip dir)
no-krb5 [krb5-flavor not specified] OPENSSL_NO_KRB5
no-md2 [default] OPENSSL_NO_MD2 (skip dir)
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
brew: superenv removed: -arch x86_64 -O3 -Wall
" Start a process in a new, focused split pane.
function! s:StartSplit()
let directory = expand('%:p:h')
let command = exists('b:start') ? b:start : &shell
exec printf('Tmux splitw -c %s %s', directory, command)
endfunction
command! -nargs=0 StartSplit call s:StartSplit()
" Dispatch
nnoremap <leader>r :StartSplit<CR>
|| fish: Unknown command 'EXIT'
|| /usr/local/share/fish/functions/trap.fish (line 24): begin; set opt -- lph -- rm -f /var/folders/nl/_p1mkgz513gb7fs4m7r9qgq40000gn/T/vX51L0s/41.pid; touch /var/folders/nl/_p1mkgz513gb7fs4m7r9qgq40000gn/T/vX51L0s/41.complete; EXIT INT TERM ;end
|| ^
|| in . (source) call of file '-',
|| called on line 44 of file '/usr/local/share/fish/functions/trap.fish',
||
|| in function 'trap',
|| called on standard input,
|| with parameter list 'rm -f /var/folders/nl/_p1mkgz513gb7fs4m7r9qgq40000gn/T/vX51L0s/41.pid; touch /var/folders/nl/_p1mkgz513gb7fs4m7r9qgq40000gn/T/vX51L0s/41.complete; EXIT INT TERM'
||