-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use ENV variables to set conf paths (#222)
closes: GH-202 Instead of creating `.rake-compiler-siteconf.rb` to override `RbConfig::MAKEFILE_CONFIG` and `RbConfig::CONFIG`, set environment variables to `make install` command. Since `RbConfig` is suppose to be readonly, we shouldn't overwrite its values. Additionally, this update addresses a bug caused by `.rake-compiler-siteconf.rb`. The file's hardcoded destination path causes `rake-compiler` to consistently create files in that location, even if the project is renamed or moved. Consequently, changes to the gem project's path do not trigger the file task to update the file. This fix resolves this issue. --------- Co-authored-by: Sutou Kouhei <kou@clear-code.com>
- Loading branch information
1 parent
100d424
commit 0d93b08
Showing
2 changed files
with
18 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters