Fixed bad use of ruby.