add gemfile, some logging