ruby mine workaround