Fix bug with whitespace for Ruby