You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow the instruction to build the site locally, I have an error:
$ bundle install ✔ 7812 14:40:37
Fetching gem metadata from https://rubygems.org/............
Fetching i18n 0.7.0
Installing i18n 0.7.0
Fetching json 1.8.1
Installing json 1.8.1 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-1.8.1/ext/json/ext/generator
/usr/local/opt/ruby/bin/ruby -r ./siteconf20180927-61203-1phyq4b.rb extconf.rb
creating Makefile
current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR=" clean
current directory: /usr/local/lib/ruby/gems/2.5.0/gems/json-1.8.1/ext/json/ext/generator
make "DESTDIR="
compiling generator.c
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:47: error: too few arguments provided to function-like macro invocation
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^
/usr/local/Cellar/ruby/2.5.1/include/ruby-2.5.0/ruby/intern.h:773:9: note: macro 'rb_str_new' defined
here
#define rb_str_new(str, len) RB_GNUC_EXTENSION_BLOCK( \
^
In file included from generator.c:1:
./../fbuffer/fbuffer.h:175:11: warning: incompatible pointer to integer conversion initializing 'VALUE'
(aka 'unsigned long') with an expression of type 'VALUE (const char *, long)' (aka 'unsigned long
(const char *, long)') [-Wint-conversion]
VALUE result = rb_str_new(FBUFFER_PAIR(fb));
^ ~~~~~~~~~~
...
I didn't sent the whole log but I could put it on https://pastebin.com if needed.
Here is my configuration:
OS: macOS
ruby version (from https://brew.sh): ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
The text was updated successfully, but these errors were encountered:
When I follow the instruction to build the site locally, I have an error:
I didn't sent the whole log but I could put it on https://pastebin.com if needed.
Here is my configuration:
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]
The text was updated successfully, but these errors were encountered: