this method is a little safer, since it does not modify all gem commands