Skip to content

Instantly share code, notes, and snippets.

View nextofsearch's full-sized avatar

Dano Lee nextofsearch

View GitHub Profile
@nextofsearch
nextofsearch / segmentation_fault
Created August 3, 2016 03:33
segmentation fault related to couchbase-ruby-sdk
/home/deployer/apps/worker/releases/20160803030838/shared/utils/couchbase_util.rb:81: [BUG] Segmentation fault at 0x000000000000d1
ruby 2.1.10p492 (2016-04-01 revision 54464) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0038 p:---- s:0206 e:000205 CFUNC :get
c:0037 p:0018 s:0202 e:000201 BLOCK /home/deployer/apps/worker/releases/20160803030838/shared/utils/couchbase_util.rb:81
c:0036 p:0074 s:0199 e:000198 METHOD /home/deployer/apps/worker/releases/20160803030838/shared/utils/couchbase_util.rb:33
c:0035 p:0013 s:0189 e:000188 METHOD /home/deployer/apps/worker/releases/20160803030838/shared/utils/couchbase_util.rb:79
c:0034 p:0011 s:0184 e:000183 METHOD /home/deployer/apps/worker/releases/20160803030838/shared/utils/couchbase_util.rb:55
c:0033 p:0055 s:0178 E:001218 METHOD /home/deployer/apps/worker/releases/20160803030838/shared/models/device_market_app.rb:432
@nextofsearch
nextofsearch / gist:6497091
Created September 9, 2013 15:20
deploy.rb for capistrano
require 'bundler/capistrano'
require 'capistrano-unicorn'
set :stages, %w(production staging)
set :default_stage, "staging"
require 'capistrano/ext/multistage'
# set :env, fetch(:env, "production")
set :application, "tp"