gjtorikian / mathematical

Convert mathematical equations to SVGs, PNGs, or MathML. A general wrapper to Lasem and mtex2MML.
https://gjtorikian.github.io/mathematical/
MIT License
166 stars 31 forks source link

script/bootstrap requires sudo #129

Closed gl-yziquel closed 8 months ago

gl-yziquel commented 8 months ago

It just so happens that, on my machine, which is ubuntu with ruby installed from ubuntu (if I remember well), execution of the script/bootstrap script requires using sudo. Which I heavily dislike.

Could it be possible to avoid running sudo with that script ?

4e554c4c commented 8 months ago

No. The purpose of this script is to install packages, which inherently requires administrator access. If you would not like to run the script, you can install the packages yourself.

gl-yziquel commented 8 months ago

set -x BUNDLE_PATH (ruby -e 'puts Gem.user_dir')

That solved it for the fish shell.

It still asks for sudo, but for apt-get.