train.rb