fixed ruby_block syntax, use ShellOut