modify ruby2.rb