add flash to gemfile and environment.rb

Updated the environment.