improve rails_setup