zsh-grawlinson/plugins/ruby

12 lines
201 B
Bash

#
# ruby
#
# Add rubygem binary directory to PATH
if command -v ruby &> /dev/null; then
path+=("$(ruby -e "puts Gem.user_dir")/bin")
export PATH
fi
# vim: ft=zsh expandtab tabstop=2 shiftwidth=2