fixed gemfile, changed config