[ruby-core:105639] [Ruby master Feature#17760] Where we should install a header file when `gem install --user`?
From:
"byroot (Jean Boussier)" <noreply@...>
Date:
2021-10-15 07:44:52 UTC
List:
ruby-core #105639
Issue #17760 has been updated by byroot (Jean Boussier). @deivid are you aware of this issue? Any idea how we could fix this or what decision would need to be taken? I fear that the `digest` extraction might cause major problem to people trying to upgrade to 3.1 next year, or trying to test `3.1.0-preview1` soon. ---------------------------------------- Feature #17760: Where we should install a header file when `gem install --user`? https://bugs.ruby-lang.org/issues/17760#change-94129 * Author: mrkn (Kenta Murata) * Status: Third Party's Issue * Priority: Normal ---------------------------------------- As `digest` have been made a default gem at Ruby 3.0, it can be installed by `gem install` command. When we install `digest`, `digest.h` is installed at the same directory as `ruby.h`. But when we use `gem install --user` for installing it, where should `digest.h` is installed in? Now, the location of `digest.h` is always the same directory as `ruby.h` regardless of whether we use `gem install --user`. It occurs permission error when non-root user uses `gem install --user` for installing `digest` on the system-ruby. -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>