Closed chikadance closed 8 years ago
module Nokogiri
module XML
class Node
# default Node#[] or Node#get will raise ruby c err, i cannot find the reason, so i should override it
def [](name, *args, &blk)
attributes[name].to_s
end
end
end
Kok phin chian Affinbank 200310001515
Hello!
A hint as to why you're getting this error is found in this line of the output:
checking if the C compiler accepts -g -std=c11 -fPIC... yes
These compiler options aren't set by Nokogiri ... they're likely being set in your CFLAGS environment variable, or in your build system.
Specfically, the error you're seeing is being cause by the -std=c11
option. libxml2's source code doesn't meet the C11 standard.
Hope this helps, -m
Send money bank account 200310001515 AFFINBANK Send to home depot
Code standard - std€c11 kok phin chian
Seems legit!
the full output is:
my os is:
my ruby version is:
when i try
gem install nokogiri -- --use-system-libraries
, i can install success, but i get ruby c ext error