Skip to content

Instantly share code, notes, and snippets.

View agrimm's full-sized avatar

Andrew Grimm agrimm

  • Terem Technologies
  • Sydney, New South Wales
View GitHub Profile
@agrimm
agrimm / gist:1471899
Created December 13, 2011 12:04 — forked from kunzmann/gist:1471853
super from ROROsyd
module Baz
def hello
puts "Baz#hello called"
super
end
end
class Foo
def hello
@agrimm
agrimm / gist:1471685
Created December 13, 2011 10:56
super from ROROsyd
module Baz
def hello
"baz " + super
end
end
module Bar
def hello
"bar"
end
git clone https://github.com/ruby/ruby.git reproduce_test_runner_problems
cd reproduce_test_runner_problems
autoconf
./configure
make
make test
./ruby -I. -Ilib test/runner.rb
Andrew-Grimms-MacBook-Pro:ruby agrimm$ ./configure
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
Andrew-Grimms-MacBook-Pro:ruby-head agrimm$ mate configure
Andrew-Grimms-MacBook-Pro:ruby-head agrimm$ ./configure
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... rm: a.out.dSYM: is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
Andrew-Grimms-MacBook-Pro:ruby-head agrimm$ ./configure
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... rm: a.out.dSYM: is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
@agrimm
agrimm / gist:1395262
Created November 26, 2011 07:54
Lines 39583 to 39783
FIRSTMAKEFILE=""
LIBRUBY_A='lib$(RUBY_SO_NAME)-static.a'
LIBRUBY='$(LIBRUBY_A)'
LIBRUBYARG_STATIC='-l$(RUBY_SO_NAME)-static'
LIBRUBYARG='$(LIBRUBYARG_STATIC)'
SOLIBS=
case "$target_os" in
Last login: Sat Nov 26 18:31:49 on ttys008
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm --version
rvm 1.9.2 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm install ruby-head --force-autoconf
Installing Ruby from source to: /Users/agrimm/.rvm/rubies/ruby-head, this may take a while depending on your cpu(s)...
ruby-head - #fetching
HEAD is now at 5606f11 * .travis.yml (before-script): autoconf required.
@agrimm
agrimm / gist:1395190
Created November 26, 2011 06:46
Problem installing YARV 20111126
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm --version
rvm 1.9.2 by Wayne E. Seguin ([email protected]) [https://rvm.beginrescueend.com/]
Andrew-Grimms-MacBook-Pro:~ agrimm$ rvm install ruby-head
Installing Ruby from source to: /Users/agrimm/.rvm/rubies/ruby-head, this may take a while depending on your cpu(s)...
ruby-head - #fetching
Cloning from git://github.com/ruby/ruby.git, this may take a while depending on your connection...
Initialized empty Git repository in /Users/agrimm/.rvm/repos/ruby/.git/
[2011-11-26 12:20:49] ./configure --prefix=/Users/agrimm/.rvm/rubies/ruby-head --enable-shared --disable-install-doc --with-baseruby=/Users/agrimm/.rvm/wrappers/ruby-1.8.7-head/ruby
checking build system type... x86_64-apple-darwin10.8.0
checking host system type... x86_64-apple-darwin10.8.0
checking target system type... x86_64-apple-darwin10.8.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o