thorfiles
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125
- 1_9_3_392
- 2_1_10
- 2_2_9
- 2_4_6
- 2_5_5
- 2_6_3 (0)
- What's this?
thorfiles(relevant_to = nil, skip_lookup = false)
private
Finds Bundler::Thorfiles by traversing from your current directory down to the root directory of your system. If at any time we find a Bundler::Thor file, we stop.
We also ensure that system-wide Bundler::Thorfiles are loaded first, so local Bundler::Thorfiles can override them.
Example
If we start at /Users/wycats/dev/thor …
-
/Users/wycats/dev/thor
-
/Users/wycats/dev
-
/Users/wycats <– we find a Bundler::Thorfile here, so we stop
Suppose we start at c:Documents and Settingsjamesdevthor …
-
c:Documents and Settingsjamesdevthor
-
c:Documents and Settingsjamesdev
-
c:Documents and Settingsjames
-
c:Documents and Settings
-
c:\ <– no Bundler::Thorfiles found!