Skip to content

Instantly share code, notes, and snippets.

@nyarly
nyarly / .bashrc
Created October 15, 2011 20:31
Change PATH based on Gemfile
source "/home/judson/bin/bundler_ps1.sh"
if [[ ! $PROMPT_COMMAND =~ __bundler_prompt_command ]]; then
export PROMPT_COMMAND="${PROMPT_COMMAND:-:} ; __bundler_prompt_command"
fi
PS1="\[\033[01;31m\]\$(__bundler_ps1)\[\033[01;34m\] $PS1"
Creating gist failed: 200 OK
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>nyarly's gist: &mdash; Gist</title>
(cut: lots of passing specs)
1)
Class#dup retains the correct ancestor chain for the singleton class ERROR
NoMethodError: undefined method `message' on #<Class:0x21148> (Class)
 Kernel(Class)#message (method_missing) at kernel/delta/kernel.rb:85
{ } in main.__script__ at spec/ruby/core/class/dup_spec.rb:36
 Kernel(Object)#instance_eval at kernel/common/eval.rb:164
 { } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
 Array#each at kernel/bootstrap/array.rb:71
1)
An exception occurred during: after :each
Process.kill sends the given signal to the specified process FAILED
Expected nil
to equal 99
/expectations.rb:15
{ } in main.__script__ at spec/ruby/core/process/kill_spec.rb:133
Kernel(Object)#instance_eval at kernel/common/eval.rb:164
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:205
Thread 6 (Thread 0xb6413b70 (LWP 18115)):
#0 0xb7706424 in __kernel_vsyscall ()
#1 0xb74e8931 in select () from /lib/libc.so.6
#2 0x081833c7 in rubinius::QueryAgent::perform (this=0x935adf0)
at vm/agent.cpp:227
#3 0x081bf4f2 in thread::Thread::trampoline (arg=0x935adf0)
at vm/util/thread.hpp:91
#4 0xb76cc41f in start_thread () from /lib/libpthread.so.0
#5 0xb74ef79e in clone () from /lib/libc.so.6