This ripl plugin indents your multi-line Ruby input using ruby_indentation gem.
Jan Lelis
gem "ripl-auto_indent", "~> 0.2.0"