Gem files will remain installed in /Users/svetlana/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/ffi-1.9.23 for inspection. Users/svetlana/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1988:47: note: passing argument to parameter here VALUE rb_rescue2(VALUE(*)(VALUE),VALUE,VALUE(*)(VALUE,VALUE),VALUE.) Ĭall.c:388:56: warning: incompatible pointer types passing 'VALUE (void *, VALUE)' (aka 'unsigned long (void *, unsigned long)') to parameter of type 'VALUE (*)(VALUE, VALUE)' (aka 'unsigned long (*)(unsigned long, unsigned long)') Users/svetlana/.rbenv/versions/2.7.2/include/ruby-2.7.0/ruby/ruby.h:1988:25: note: passing argument to parameter here Rb_rescue2(rbffi_do_blocking_call, (VALUE) bc, rbffi_save_frame_exception, (VALUE) &frame, rb_eException, (VALUE) 0) # define rbffi_thread_blocking_region rb_thread_call_without_gvlĬall.c:388:20: warning: incompatible pointer types passing 'VALUE (void *)' (aka 'unsigned long (void *)') to parameter of type 'VALUE (*)(VALUE)' (aka 'unsigned long (*)(unsigned long)') Thread.h:78:39: note: expanded from macro 'rbffi_thread_blocking_region' Rbffi_thread_blocking_region(call_blocking_function, data, (void *) -1, NULL) yesĬall.c:334:5: error: implicit declaration of function 'rb_thread_call_without_gvl' is invalid in C99 yesĬhecking for rb_thread_call_without_gvl(). noĬhecking for rb_thread_call_with_gvl(). yesĬhecking for rb_thread_blocking_region(). This could take a while.ĮRROR: Failed to build gem native extension.Ĭurrent directory: /Users/svetlana/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/ffi-1.9.23/ext/ffi_c
Gem install jekyll ffi building native extensions install#
Rb-inotify was resolved to 0.9.10, which depends onīut when I run gem install ffi -v '1.9.23', I also get an error: Building native extensions. Sass-listen was resolved to 4.0.0, which depends on Sass was resolved to 3.5.6, which depends on Jekyll-sass-converter was resolved to 1.5.2, which depends on Jekyll was resolved to 3.8.2, which depends on Jekyll-sanity was resolved to 1.2.0, which depends on Jekyll-assets was resolved to 3.0.11, which depends on Make sure that `gem install ffi -v '1.9.23'` succeeds before bundling. When I run bundle install, I get the following error: An error occurred while installing ffi (1.9.23), and Bundler cannot I'm trying to install a jekyll site on my computer.