-
-
Save alistairholt/359195517cc2364b82b8 to your computer and use it in GitHub Desktop.
This file contains 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
~ $ macirb | |
>> require 'hotcocoa' | |
RuntimeError: framework at path `Cocoa' cannot be loaded: Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x800766cc0 "The bundle “Cocoa” could not be loaded because its executable could not be located." | |
from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa.rb:1:in `framework' | |
from /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa.rb:1:in `<top (required)>' | |
from (irb):1:in `require' | |
from (irb):1 | |
from /usr/local/bin/macirb:12:in `<main>' | |
>> $:.each{|path| puts path + "/" + "hotcocoa.rb" if File.exists?(path + "/" + "hotcocoa.rb")} | |
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa.rb | |
=> ["/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/site_ruby/1.9.1", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/site_ruby/1.9.1/universal-darwin9.5", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/site_ruby", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/vendor_ruby/1.9.1", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/vendor_ruby/1.9.1/universal-darwin9.5", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/vendor_ruby", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1", "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/universal-darwin9.5", "."] | |
>> | |
~ $ macruby -e "NSBundle.bundleWithPath('/System/Library/Frameworks/Cocoa.framework').load; p :ok" | |
:ok | |
~ $ macruby -e "framework 'Cocoa'" | |
-e:1:in `framework': framework at path `Cocoa' cannot be loaded: Error Domain=NSCocoaErrorDomain Code=4 UserInfo=0x8000b19a0 "The bundle “Cocoa” could not be loaded because its executable could not be located." (RuntimeError) | |
from -e:1:in `<main>' | |
~ $ env | |
MANPATH=/usr/share/man:/usr/local/share/man:/usr/X11/man:/usr/local/git/man | |
TERM_PROGRAM=Apple_Terminal | |
TERM=xterm-color | |
SHELL=/bin/bash | |
HISTSIZE=10000 | |
CLICOLOR=1 | |
TMPDIR=/var/folders/kX/kXWrD97EH9SCuZF2Ejc0xE+++TI/-Tmp-/ | |
Apple_PubSub_Socket_Render=/tmp/launch-QNcG9t/Render | |
TERM_PROGRAM_VERSION=240.2 | |
USER=alistair | |
COMMAND_MODE=unix2003 | |
SSH_AUTH_SOCK=/tmp/launch-HGWf66/Listeners | |
__CF_USER_TEXT_ENCODING=0x1F5:0:0 | |
LSCOLORS=Fxfxcxdxbxegedabagacad | |
PATH=/opt/subversion/bin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin | |
PWD=/Users/alistair | |
LANG=en_GB.UTF-8 | |
PS1=\w$(parse_git_branch) $ | |
HISTCONTROL=erasedups | |
SHLVL=1 | |
HOME=/Users/alistair | |
LOGNAME=alistair | |
DISPLAY=/tmp/launch-R5pYcj/:0 | |
SECURITYSESSIONID=abca00 | |
_=/usr/bin/env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment