Fix bug with engine Gemfile configuration