use layout right and add Gemfile