```ruby


# check for incorect product assets path in public directory
if File.exist?(Rails.root.join("public/assets/products")) ||  File.exist?(Rails.root.join("public/assets/taxons"))
  puts %q{[DEPRECATION] Your applications public directory contains an assets/products and/or assets/taxons subdirectory. 
    Run `rake spree:assets:relocate_images` to relocate the images.}
elsif File.exist? Rails.root.join("public/assets")
  puts %q{[DEPRECATION] Your applications public directory contains assets subdirectory. 
    You should remove the public/assets directory to prevent conflicts with the Rails 3.1 asset pipeline}
end
```

Remove deprecation check for 'public/assets' as that's we're precompiled assets get created.
user
```ruby


# check for incorect product assets path in public directory
if File.exist?(Rails.root.join("public/assets/products")) ||  File.exist?(Rails.root.join("public/assets/taxons"))
  puts %q{[DEPRECATION] Your applications public directory contains an assets/products and/or assets/taxons subdirectory. 
    Run `rake spree:assets:relocate_images` to relocate the images.}
end
```
assistant