[bash] ruby PATH expension didn't check if rubygems are available/installed