Init Rails application.