Skip to content

Instantly share code, notes, and snippets.

➜ macruby-head cat make.error.log
[2009-12-29 14:59:37] rake
+++ rake
/usr/bin/ruby tool/compile_prelude.rb prelude.rb miniprelude.c.new
rm miniprelude.c.new
/usr/bin/g++ -I/usr/local/include -D_DEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3 -fno-common -Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64 -Wno-parentheses -Wno-deprecated-declarations -Werror -c vm.cpp -o vm.o
vm.cpp: In function ‘void rb_vm_aot_compile(NODE*)’:
vm.cpp:3824: error: ‘F_Binary’ is not a member of ‘llvm::raw_fd_ostream’
vm.cpp: In function ‘void Init_PreVM()’:
vm.cpp:4660: error: ‘JITEmitDebugInfo’ is not a member of ‘llvm’
➜ ~ rvm install macruby-head --enable-llvm --trace
install macruby-head --enable-llvm --trace
rvm 0.0.99 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+__rvm_parse_args:330> [[ -z install ]]
+__rvm_parse_args:331> [[ ! -z '' ]]
+__rvm_parse_args:331> [[ ! -z '' ]]
+__rvm_parse_args:3> [[ 0 -gt 0 ]]
+__rvm_parse_args:334> [[ 0 -gt 0 ]]
➜ ~ rvm install macruby-head --trace
install macruby-head --trace
rvm 0.0.99 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+__rvm_parse_args:330> [[ -z install ]]
+__rvm_parse_args:331> [[ ! -z '' ]]
+__rvm_parse_args:331> [[ ! -z '' ]]
+__rvm_parse_args:3> [[ 0 -gt 0 ]]
+__rvm_parse_args:334> [[ 0 -gt 0 ]]
➜ ~ rvm install macruby-head
/Users/mwilliams/.rvm/scripts/manage: line 91: __rvm_install_llvm: command not found
Installing Ruby from source to: /Users/mwilliams/.rvm/macruby-head
Compiling macruby-head, this may take a while, depending on your cpu(s)...
Error running 'rake ', please check /Users/mwilliams/.rvm/log/macruby-head/make.error.log
;;; DELETE CURRENT FILE
;;; Bound to C-k
(defun ido-delete-file-at-head ()
"Delete the file at the head of `ido-matches'.
If cursor is not at the end of the user input, delete to end of input."
(interactive)
(if (not (eobp))
(delete-region (point) (line-end-position))
(let ((enable-recursive-minibuffers t)
(file (ido-name (car ido-matches))))
(global-set-key [(tab)] 'smart-tab)
(defun smart-tab ()
"This smart tab is minibuffer compliant: it acts as usual in
the minibuffer. Else, if mark is active, indents region. Else if
point is at the end of a symbol, expands it. Else indents the
current line."
(interactive)
(if (minibufferp)
(unless (minibuffer-complete)
(dabbrev-expand nil))
(add-to-list 'load-path "/Users/mwilliams/.emacs.d/vendor/color-theme")
(require 'color-theme)
(color-theme-initialize)
;; Color themes
(add-to-list 'load-path "~/.emacs.d/vendor/color-theme-6.6.0")
(require 'color-theme)
;; Color themes
(add-to-list 'load-path "/vendor/color-theme-6.6.0/")
(add-to-list 'load-path "/vendor/twilight-emacs/")
(require 'color-theme)
(require 'color-theme-twilight)
(color-theme-twilight)
;; mwilliams.el
;; ------------
;; My custom Emacs settings
;; Load my path
(setenv "PATH" (concat (getenv "PATH") ":/usr/local/bin"))
(setq exec-path (append exec-path '("/usr/local/bin")))
;; Load my shell (defined in ~/bin/eshell so zsh properly loads
;; and all the theming works correctly