updated gemfile and application.rb