Ruby library which contains some images for your seed.rb scripts. You can easily get location of random image from your local machine (images are inside gem) and feed it to your seed.rb.
Motivation: preventing downloading images from the web and using them from '/public' folder on Ruby on Rails app each time when start new project from scratch. I hope it will save someone's time.
gem install local_images
require 'local_images'
LocalImages::Faces.local_link("param")
LocalImages::Faces.local_link("humans")
=> "/Users/user/.rvm/gems/ruby-2.6.5/gems/local_images-0.1.0/lib/images/faces/humans/007.jpg"
Available params: humans, cats, dogs.
Currently lib contains 10 images for each param.
Images from Unsplash.
Add Cover images
MIT