set configure_rake_session method static