clear events & change Gemfile