Update path for ruby-gems

  If we have to use rubygems then set the path.