-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to ensuring that ruby-build is installed
- Loading branch information
1 parent
4b7154c
commit 375b54d
Showing
2 changed files
with
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
# Ensure that ruby-build is installed so we can have the right ruby version | ||
# | ||
if [ -d "$(rbenv root)/plugins/ruby-build" ]; then | ||
echo "Updating ruby-build" | ||
git -C "$(rbenv root)/plugins/ruby-build" pull | ||
else | ||
echo "Installing ruby-build" | ||
git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build | ||
fi |
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