shell and ruby block