This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rubinius Crash Report #rbxcrashreport | |
Error: signal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActiveRecord::Base | |
# Options | |
# <tt>:only</tt> Only select a specific set of columns | |
def self.all_as_json(options = {}) | |
find_columns = self.columns.collect{|x| x.name} | |
find_columns = find_columns.select{|x| options[:only].include?(x)} if options[:only] | |
sql_query = 'SELECT ' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Base64 | |
def self.encode64(string) | |
NSData.alloc.initWithData(string).base64EncodedString | |
end | |
def self.decode64(string) | |
data = NSData.dataFromBase64String(string) | |
NSString.alloc.initWithData(data, encoding:NSUTF8StringEncoding) | |
end | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server:~ $ brew install -v fuse4x-kext | |
sh: line 1: 9774 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
sh: line 1: 9776 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
sh: line 1: 9785 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
==> Downloading https://github.com/fuse4x/kext/tarball/fuse4x_0_9_1 | |
Already downloaded: /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz | |
/usr/bin/tar xf /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz | |
==> /usr/bin/xcodebuild -sdk macosx10.7 -configuration Release -alltargets MACOSX_DEPLOYMENT_TARGET=10.7 SYMROOT=build ARCHS=i386 x86_64 ONLY_ACTIVE_ARCH=NO |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
creating extconf.h | |
creating Makefile | |
make | |
compiling readline.c | |
readline.c: In function 'username_completion_proc_call': | |
readline.c:1389: error: 'username_completion_function' undeclared (first use in this function) | |
readline.c:1389: error: (Each undeclared identifier is reported only once | |
readline.c:1389: error: for each function it appears in.) | |
make: *** [readline.o] Error 1 | |
rake aborted! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rubinius master rake | |
(in /Users/user/programming/rubinius) | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby vm/codegen/field_extract.rb vm/builtin/basicobject.hpp vm/builtin/object.hpp vm/builtin/integer.hpp vm/builtin/fixnum.hpp vm/builtin/array.hpp vm/builtin/bignum.hpp vm/builtin/executable.hpp vm/builtin/access_variable.hpp vm/builtin/alias.hpp vm/builtin/block_environment.hpp vm/builtin/block_as_method.hpp vm/builtin/bytearray.hpp vm/builtin/io.hpp vm/builtin/channel.hpp vm/builtin/module.hpp vm/builtin/class.hpp vm/builtin/compiledmethod.hpp vm/builtin/data.hpp vm/builtin/dir.hpp vm/builtin/exception.hpp vm/builtin/float.hpp vm/builtin/immediates.hpp vm/builtin/iseq.hpp vm/builtin/list.hpp vm/builtin/lookuptable.hpp vm/builtin/ffi_pointer.hpp vm/builtin/methodtable.hpp vm/builtin/nativefunction.hpp vm/builtin/packed_object.hpp vm/builtin/randomizer.hpp vm/builtin/regexp.hpp vm/builtin/staticscope.hpp vm/builtin/encoding.hpp vm/builtin/string.hpp vm/builtin/symbol.hpp vm/builtin/thread |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/vm/builtin/string.cpp b/vm/builtin/string.cpp | |
index 49e5628..52e7848 100644 | |
--- a/vm/builtin/string.cpp | |
+++ b/vm/builtin/string.cpp | |
@@ -944,20 +944,9 @@ namespace rubinius { | |
native_int limit; | |
bool assign(native_int chr) { | |
- int j, i = set[chr]; | |
- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- encoding : utf-8 -*- | |
require 'spec_helper' | |
## Only run the sphinx test if we can actually run them | |
if sphinx_test_possible? | |
describe "Sphinx Integration Test" do | |
describe "searching for employees" do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:72:in `sleep': No live threads left. Deadlock? from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:72:in `block (2 levels) in wait' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:68:in `block in wait' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:66:in `handle_interrupt' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:66:in `wait' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:188:in `block in pop' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:187:in `handle_interrupt' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:187:in `pop' | |
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/thread.rb:335:in `pop' | |
/app/vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.rc1/lib/action_controller/metal/live.rb:51:in `each' | |
/app/vendor/bundle/ruby/2.0.0/gems/actionpack-4.0.0.rc1/lib/action_dispatch/http/response.rb:42:in `each' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!/bin/sh | |
# | |
# Script to run innobackupex script (for all databases on server), check for success, and apply logs to backups. | |
# | |
# (C)2013 Bart ten Brinke @ Retrosync | |
# | |
# Based on the following script: | |
# (C)2010 Owen Carter @ Mirabeau BV | |
# This script is provided as-is; no liability can be accepted for use. | |
# You are free to modify and reproduce so long as this attribution is preserved. |
OlderNewer