Skip to content

Commit

Permalink
Xcode 13 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotw1 committed Aug 15, 2023
1 parent d927eff commit c15dabe
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .circleci/ruby_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 13,11 @@ fi
if ! command -v rbenv &> /dev/null; then
echo "Installing rbenv..."
brew install rbenv
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
# Check if rbenv init line is already present in .bash_profile, if not, add it
if ! grep -q 'eval "$(rbenv init -)"' ~/.bash_profile; then
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
fi

source ~/.bash_profile
else
echo "rbenv is already installed."
Expand Down

0 comments on commit c15dabe

Please sign in to comment.