add carrierwave gem and run bundle install
add  uploader avatar  and I executed migration to user_profiles table
add rmagick gem and I executed bundle install
add thumb to picture and remove picture