Skip to content

Instantly share code, notes, and snippets.

aboltart

Block or report user

Report or block aboltart

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@aboltart
aboltart / gist:7f254dc7ec33d9d39ec5
Created Mar 13, 2015
Passenger 5.0.4 error stack trace
View gist:7f254dc7ec33d9d39ec5
App 31504 stdout:
App 1766 stdout:
[ pid=31140, timestamp=1426237226 ] Process aborted! signo=SIGSEGV(11), reason=SEGV_MAPERR, si_addr=0x2d322e73, randomSeed=1426237173
[ pid=31140 ] Crash log dumped to /var/tmp/passenger-crash-log.1426237226
[ pid=31140 ] Date, uname and ulimits:
Fri Mar 13 11:00:26 EET 2015
Linux 2.6.18-238.12.1.el5PAE #1 SMP Sat May 7 20:37:06 EDT 2011 i686 i686
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
scheduling priority (-e) 0
@aboltart
aboltart / gist:f90cab21db56073ff947
Created Sep 24, 2014
Ruby benchmarking test cases
View gist:f90cab21db56073ff947
#===========================================
# 1. Benchmark
#
require 'benchmark'
Benchmark.bmbm do |x|
x.report ('<<') do
1_000_000.times do
one = 'one'
two = 'two'
@aboltart
aboltart / gist:8265c0adbc43df1d97d5
Created May 31, 2014
logstalgia-1.0.5 confogure error
View gist:8265c0adbc43df1d97d5
./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
@aboltart
aboltart / gist:4478591
Created Jan 7, 2013
.rvm/src/yaml-0.1.4/config.log
View gist:4478591
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by yaml configure 0.1.4, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ ./configure --prefix=/Users/aabolts/.rvm/usr --disable-dependency-tracking
## --------- ##
## Platform. ##
@aboltart
aboltart / gist:4478576
Created Jan 7, 2013
.rvm/src/ruby-2.0.0-rc1/config.log
View gist:4478576
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by configure, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --enable-shared --disable-install-doc --prefix=/Users/aabolts/.rvm/rubies/ruby-2.0.0-rc1 --with-opt-dir=/Users/aabolts/.rvm/usr:/Users/aabolts/.rvm/usr --with-arch=i386
## --------- ##
## Platform. ##
@aboltart
aboltart / gist:4478281
Created Jan 7, 2013
ruby-2.0.0-rc1/configure.log
View gist:4478281
[2013-01-07 22:36:08] env CFLAGS=-O3 -march=native -O3 ./configure --enable-shared --disable-install-doc --prefix=/Users/aabolts/.rvm/rubies/ruby-2.0.0-rc1 --with-opt-dir=/Users/aabolts/.rvm/usr:/Users/aabolts/.rvm/usr --with-arch=i386
checking build system type... x86_64-apple-darwin12.2.1
checking host system type... x86_64-apple-darwin12.2.1
checking target system type... x86_64-apple-darwin12.2.1
checking whether the C compiler works... no
configure: error: in `/Users/aabolts/.rvm/src/ruby-2.0.0-rc1':
configure: error: C compiler cannot create executables
See `config.log' for more details
@aboltart
aboltart / gist:4478267
Created Jan 7, 2013
ruby-2.0.0-rc1/yaml/configure.log
View gist:4478267
2013-01-07 22:33:32] env CFLAGS=-march=native -O3 -arch i386 -O3 CCFLAGS= -arch i386 -O3 CXXFLAGS= -arch i386 -O3 LDFLAGS= -arch i386 ./configure --prefix=/Users/aabolts/.rvm/usr --disable-dependency-tracking
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... config/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc-4.2
@aboltart
aboltart / gist:4478250
Created Jan 7, 2013
ruby-2.0.0-rc1 install stack trace
View gist:4478250
[ ~ ] % rvm --debug install 2.0.0 --32
2.0.0 - install
__rvm_update_configure_env(4):CFLAGS= -arch i386 -O3 CCFLAGS= -arch i386 -O3 CXXFLAGS= -arch i386 -O3 LDFLAGS= -arch i386:
found compiler: gcc-4.2
Fetching yaml-0.1.4.tar.gz to /Users/aabolts/.rvm/archives
Fetching: https://rvm.io/src/yaml-0.1.4.tar.gz
Fetch command: curl -f -L --create-dirs -C - -o yaml-0.1.4.tar.gz
No archive, downloading
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
@aboltart
aboltart / gist:4197730
Created Dec 3, 2012
activesupport 3.2.9 + ruby-2.0.0-preview2 fails
View gist:4197730
[2012-12-03 22:24:54.116] FATAL NoMethodError (private method `_dump_without_zone' called for 2012-12-03 22:24:52 +0200:Time):
activesupport (3.2.9) lib/active_support/core_ext/time/marshal.rb:54:in `_dump'
activesupport (3.2.9) lib/active_support/message_verifier.rb:53:in `dump'
activesupport (3.2.9) lib/active_support/message_verifier.rb:53:in `generate'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:300:in `[]='
actionpack (3.2.9) lib/action_dispatch/middleware/session/cookie_store.rb:67:in `set_cookie'
rack (1.4.1) lib/rack/session/abstract/id.rb:330:in `commit_session'
rack (1.4.1) lib/rack/session/abstract/id.rb:206:in `context'
rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call'
@aboltart
aboltart / gist:4193407
Created Dec 3, 2012
ruby-oci8 + ruby-2.0.0-preview2 32 bit error
View gist:4193407
Using ruby-oci8 (2.1.3) from http://github.com/kubo/ruby-oci8.git (at master) * Checking out revision: master
Successfully built RubyGem
Name: ruby-oci8
Version: 2.1.3
File: ruby-oci8-2.1.3.gem
with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Users/aabolts/.rvm/rubies/ruby-2.0.0-preview2/bin/ruby extconf.rb
checking for load library path...
You can’t perform that action at this time.