Ruby gems that require building native extensions
-
I'm writing all my scripts in Ruby and it's working great so far, except I can't use any gem that requires to build native extensions such as sqlite3 or nokogiri.
I can't see any easy way for now (installing gcc by recompiling OpenWrt, finding ruby-dev, libsqlite3-dev packages for OpenWrt...), so I'd be glad if anyone had an easier solution!
It would be great to be able to run Sinatra apps on my Omega.
Thanks!
-
I need to do the same for Python. I guess there will be some cross compiling involved.
-
Hi! Have you eventually managed to find how to install ruby-dev? It Is really annoying being unable to build native extensions!
-
Me too. Can't install gem such as ruby-serial.
-
I've added
python-dev
to the Onion package repo
Unfortunatelyruby-dev
is not yet available as a package for LEDE!
-
@Lazar-Demin thank you! Do you know any workaround to get this to work? I really need those headers
-
@tommaso-tani Can't think of any workaround except for cross-compiling
ruby-dev
yourself! Sorry!