update environment.rb file to have image render