Skip to content

Instantly share code, notes, and snippets.

@designium
Created March 14, 2013 16:59
Show Gist options
  • Save designium/5163064 to your computer and use it in GitHub Desktop.
Save designium/5163064 to your computer and use it in GitHub Desktop.
ruby -v
ruby 2.0.0dev (2013-02-08 trunk 39161) [x86_64-darwin12.2.0]
--------------------------------------------------
$ bundle update
Fetching gem metadata from https://rubygems.org/.........
Fetching gem metadata from https://rubygems.org/..
Using rake (10.0.3)
Using i18n (0.6.4)
Using multi_json (1.6.1)
Using activesupport (3.2.12)
Using builder (3.0.4)
Using activemodel (3.2.12)
Using erubis (2.7.0)
Using journey (1.0.4)
Using rack (1.4.5)
Using rack-cache (1.2)
Using rack-test (0.6.2)
Using hike (1.2.1)
Using tilt (1.3.5)
Using sprockets (2.2.2)
Using actionpack (3.2.12)
Using mime-types (1.21)
Using polyglot (0.3.3)
Using treetop (1.4.12)
Using mail (2.4.4)
Using actionmailer (3.2.12)
Using arel (3.0.2)
Using tzinfo (0.3.37)
Using activerecord (3.2.12)
Using activeresource (3.2.12)
Using addressable (2.3.3)
Using bcrypt-ruby (3.0.1)
Using rack-ssl (1.3.3)
Using json (1.7.7)
Using rdoc (3.12.2)
Using thor (0.17.0)
Using railties (3.2.12)
Using jquery-rails (2.2.1)
Using bundler (1.2.0)
Using rails (3.2.12)
Using best_in_place (2.1.0)
Using coderay (1.0.9)
Using better_errors (0.7.2)
Using debug_inspector (0.0.2)
Installing binding_of_caller (0.7.1) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/Library/Frameworks/MacRuby.framework/Versions/0.13/usr/bin/macruby extconf.rb
creating Makefile
make
/usr/bin/gcc-4.2 -I. -I/Library/Frameworks/MacRuby.framework/Versions/0.13/usr/include/ruby-1.9.2/universal-darwin10.0 -I/Library/Frameworks/MacRuby.framework/Versions/0.13/usr/include/ruby-1.9.2/ruby/backward -I/Library/Frameworks/MacRuby.framework/Versions/0.13/usr/include/ruby-1.9.2 -I. -I/plblockimp -fno-common -arch x86_64 -fexceptions -fno-common -pipe -O3 -g -Wall -O0 -std=c99 -I./ruby_headers/192/ -DRUBY_192 -arch x86_64 -o binding_of_caller.o -c binding_of_caller.c
In file included from binding_of_caller.c:4:
./ruby_headers/192/vm_core.h:307: error: expected specifier-qualifier-list before ‘rb_event_hook_t’
./ruby_headers/192/vm_core.h:468: error: expected specifier-qualifier-list before ‘rb_event_hook_t’
./ruby_headers/192/vm_core.h:692: error: expected declaration specifiers or ‘...’ before ‘rb_event_flag_t’
binding_of_caller.c:15: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
binding_of_caller.c: In function ‘binding_mark’:
binding_of_caller.c:56: warning: implicit declaration of function ‘rb_gc_mark’
binding_of_caller.c: At top level:
binding_of_caller.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘binding_data_type’
binding_of_caller.c: In function ‘binding_alloc’:
binding_of_caller.c:78: warning: implicit declaration of function ‘TypedData_Make_Struct’
binding_of_caller.c:78: error: expected expression before ‘rb_binding_t’
binding_of_caller.c:77: warning: unused variable ‘bind’
binding_of_caller.c: In function ‘frametype_name’:
binding_of_caller.c:119: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
make: *** [binding_of_caller.o] Error 1
Gem files will remain installed in /Users/chimkan/.bundler/tmp/17873/gems/binding_of_caller-0.7.1 for inspection.
Results logged to /Users/chimkan/.bundler/tmp/17873/gems/binding_of_caller-0.7.1/ext/binding_of_caller/gem_make.out
An error occurred while installing binding_of_caller (0.7.1), and Bundler cannot continue.
Make sure that `gem install binding_of_caller -v '0.7.1'` succeeds before bundling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment