Hello,
I suggest adding the following clause in a default .bashrc
file to add local user ruby gems to the PATH
variable (if the ruby is installed):
# Local Ruby gems inclusion. if which ruby >/dev/null && which gem >/dev/null; then PATH="$(ruby -rubygems -e 'puts Gem.user_dir')/bin:$PATH" fi
Otherwise, you get the messages about ruby gems folder not being in your PATH
, and thereby not available to you directly.
Thank You.
The solution is taken from here: http://stackoverflow.com/questions/2119064/sudo-gem-install-or-gem-install-and-gem-locations
It can break using ming-ruby from msys shell
Make a commented-out section and your notice perhaps?