Whilst trying to embed SVGs into text I was getting the following error:
❯ rake deck
rake aborted!
NameError: uninitialized constant Squib::Card::RSVG
RSVG::Handle.new_from_data(svg_data).width
^^^^
Did you mean? Rsvg
I discovered there had previously been a rename and it looks like this file got missed. I proved this out by first using bundle open to change the code and confirming the above command works.
Motivation
Whilst trying to embed SVGs into text I was getting the following error:
I discovered there had previously been a rename and it looks like this file got missed. I proved this out by first using
bundle open
to change the code and confirming the above command works.