add middle-core to Gemfile