-
|
I am trying to run rails in termux and for that I am trying to install nokogiri commands I ran: pkg install ruby
gem install bundler
gem update --system 4.0.3
pkg install clang make binutils
pkg install pkg-config libxslt
gem install nokogiri --platform=ruby -- --use-system-librarieserror log some system info: am I missing something? or its a bug in nokogiri or termux |
Beta Was this translation helpful? Give feedback.
Answered by
skj-skj
Dec 28, 2025
Replies: 1 comment
-
|
I got it resolved: export C_INCLUDE_PATH="$(find "$PREFIX" -type d -path "*/nokogiri-*/gumbo-parser/src" 2>/dev/null | head -n1)"
gem install nokogiri --platform=ruby -- --use-system-libraries |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
skj-skj
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got it resolved:
ran below command after first failure