Open phil-blain opened 4 years ago
I think it should be included in REAME.md.
I tried swtiching from rbenv
to pixi
and immediately ran into problems installing native extensions. I wasted time to find this issue, it would be great to have some sort of help or guidance to know what to do. In fact in this case using pixi global install compilers ruby
does not work either, so the instructions are specific to conda...
To install gems with native extensions with the Ruby from this feedstock, the conda-forge compilers must be installed in the environment with
This is not obvious for beginner conda-forge users, and beginner Ruby users. It would be good to document this somewhere.
One idea is to use
$PREFIX/.messages.txt
so that upon installing theruby
package, we output a message likeThat would be the easiest way at the moment, I think. But then this message is automatically removed by conda after installation is finished, so it's not that great because users have no easy way to see this message again.
What would be easier is if conda had a
conda info <package>
command, like Homebrew does (which shows the "Caveats" section that are also shown at the end of installation).Another idea is to mention it in the README of the feedstock, but this has a lot less visibility for users.
We could also add a section to the User documentation at conda-forge.github.io talking about the need to install the conda-forge compilers to install packages with natives extensions from another package management ecosystem that you install from conda-forge.
Originally posted by @phil-blain in https://github.com/conda-forge/ruby-feedstock/pull/18#issuecomment-649886178