Update gemfile.lock missed from previous commit
use initialization hook in scheduler to fix a weird issue