quantities for Ruby. PR: ports/64248 Submitted by: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>