Is it possible to include image files in Generators?

I’m trying to convert a script that uses image files. Is there a way to
include images in the generators itself? (e.g.
generators/somename/templates/abc_logo.gif)

I tried it, but it says:

“You have a nil object when you didn’t expect it! You might have
expected an instance of Array. The error occurred while evaluating
nil.empty?”

Any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs