Didn't you forget to add the Gemfile for 4.0 here ?