add Gemfile and index.rb