#!/usr/bin/env bash
source ./script/utils.sh

e_header "Trying to configure tmux..."

CWD=$(pwd)
ln -sf ${CWD}/tmux/tmux.conf ~/.tmux.conf

brew install rbenv
eval "$(rbenv init -)"
rbenv install 2.5.3
rbenv global 2.5.3

# Tmux plugin manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

gem install tmuxinator

if [ $? -ne 0 ]; then
  e_error "Configuration failed!"
  exit 1
fi
e_success "Success."

#!/usr/bin/env bash
source ./script/utils.sh

e_header "Trying to configure tmux..."

CWD=$(pwd)
ln -sf ${CWD}/tmux/tmux.conf ~/.tmux.conf

brew install rbenv ruby-build
eval "$(rbenv init -)"
rbenv install --skip-existing 2.6.3
rbenv global 2.6.3

# Tmux plugin manager
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

gem install tmuxinator

if [ $? -ne 0 ]; then
  e_error "Configuration failed!"
  exit 1
fi
e_success "Success."

Update ruby version and fix rbenv warning
Update ruby version and fix rbenv warning
