-
-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gemfile classes call instance_eval without telling Ruby what file the string came from, and so Ruby thinks that FILE should point to `appraisal/lib/appraisal/gemfile.rb` instead of the Gemfile itself, and that breaks anything inside the Gemfile that references either __FILE__ or __dir__. This fixes the case where `ruby Pathname.new(__dir__).join(".ruby-version").read` is used in the original `Gemfile` across Appraisals.
- Loading branch information
Showing
2 changed files
with
13 additions
and
6 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