Fix gemfile and config