Writing bash scripts in ruby now