Skip to content

Instantly share code, notes, and snippets.

@dje
Created February 2, 2010 17:11
Show Gist options
  • Save dje/292829 to your computer and use it in GitHub Desktop.
Save dje/292829 to your computer and use it in GitHub Desktop.
-- Mac #1 (works) --
$ macruby --version
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, x86_64]
$ file test.rbo
test.rbo: Mach-O universal binary with 2 architectures
test.rbo (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
test.rbo (for architecture i386): Mach-O dynamically linked shared library i386
$ macirb
irb(main):001:0> require 'test'
=> true
-- Mac #2 (doesn't work) --
$ macruby --version
MacRuby version 0.5 (ruby 1.9.0) [universal-darwin10.0, i386]
$ file test.rbo
test.rbo: Mach-O universal binary with 2 architectures
test.rbo (for architecture x86_64): Mach-O 64-bit dynamically linked shared library x86_64
test.rbo (for architecture i386): Mach-O dynamically linked shared library i386
$ macirb
irb(main):001:0> require 'test'
LoadError: no such file to load -- test
from (irb):1:in `<main>'
from workspace.rb:80:in `evaluate:'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment