Add gemfile, fix config.ru for relative application