add Gemfile and modify Rakefile