Open darabi opened 1 year ago
@darabi Even when adding the env vars: https://github.com/metacall/distributable-linux/blob/5eb042f6ded5eff5f63649145bf422726ce914e6/source/metacall.scm#L482
It seems ruby is totally fucked. I could not make ruby find the gems installed by bundler, and other gems fail horribly like the ones I have added in the test.
If you are more experienced than me with Ruby, you can try to debug it: https://github.com/metacall/distributable-linux/commit/5eb042f6ded5eff5f63649145bf422726ce914e6
It would be also interesting to report this to Guix team.
@darabi try updating the ruby to v3 or latest stable release. that should solve your problem. Have faced the problem too. for more you could check this out: https://nokogiri.org/tutorials/installing_nokogiri.html
I would like to use ruby gem nokogiri with MetaCall (installed with install.sh) and am using the repo metacall/express-faas-rpc-example as a starting point.
I added a corresponding Gemfile, called
metacall bundler install
which reports the gem as being present.When I add the `require 'nokogiri' statement to mult.rb, I get
@viferga mentioned in the Discord chat that this is related to some environment variables and to #5.