adds gemfile, fixes server script bug