updating Gemfile and app.js