-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure we don't go past our allowed version
- Loading branch information
1 parent
54a6922
commit 492e871
Showing
2 changed files
with
2 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Set up a path to the nanoc executable installed by the gem, rather than | ||
# using a system default | ||
# Run as . ./setpath | ||
x=$(find /var/lib/gems -name nanoc | sed -n 's/bin.nanoc/bin/p' | sort | tail -n 1) | ||
x=$(find /var/lib/gems -name nanoc | sed -n 's/bin.nanoc/bin/p' | grep '3\.8' | sort | tail -n 1) | ||
export PATH=$x:$PATH | ||
echo "Added to front of PATH: $x" |