From: nobu@... Date: 2021-03-30T14:20:25+00:00 Subject: [ruby-core:103101] [Ruby master Feature#17760] Where we should install a header file when `gem install --user`? Issue #17760 has been updated by nobu (Nobuyoshi Nakada). Backport deleted (2.5: REQUIRED, 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED) Status changed from Open to Third Party's Issue Tracker changed from Bug to Feature This is because rubygems doesn't manage header files installed from gems, since no gems had installed headers until digest has been gemified. Now rubygems needs to support such gems. ---------------------------------------- Feature #17760: Where we should install a header file when `gem install --user`? https://bugs.ruby-lang.org/issues/17760#change-91167 * 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: