diff --git a/roles/home-cli/files/gemrc b/roles/home-cli/files/gemrc new file mode 100644 index 0000000..64193c3 --- /dev/null +++ b/roles/home-cli/files/gemrc @@ -0,0 +1 @@ +gem: --user-install diff --git a/roles/home-cli/files/shrc b/roles/home-cli/files/shrc index 35ec86b..ae24d2f 100644 --- a/roles/home-cli/files/shrc +++ b/roles/home-cli/files/shrc @@ -144,6 +144,7 @@ for dir in $HOME/.local/bin \ /var/lib/snapd/snap/bin \ $GOPATH/bin \ $HOME/.cargo/bin \ + $HOME/.gem/ruby/*/bin \ ; do if [ -d "$dir" ]; then PATH="$PATH:$dir" diff --git a/roles/home-cli/tasks/dotfiles.yml b/roles/home-cli/tasks/dotfiles.yml index 275bb7c..814abd9 100644 --- a/roles/home-cli/tasks/dotfiles.yml +++ b/roles/home-cli/tasks/dotfiles.yml @@ -1,4 +1,8 @@ --- +- name: Copy .gemrc + copy: + src: gemrc + dest: "{{ ansible_env.HOME }}/.gemrc" - name: Copy .gitconfig copy: src: gitconfig