fix ruby samples