change travis setup from rails-head to rails 4.0.0.beta1