fixed Gemfile and minor edit for saving events