DEV Community

Discussion on: Your first ruby gem 💎

Collapse
lewiscowles1986 profile image
Lewis Cowles

Very cool. Did you consider a task like rails ships with, which detects yarn and runs? It's built into rails 6 I think, so is an official rails friendly pattern as far as I'm concerned.

Collapse
lso profile image
Louis Sommer Author

Thanks Lewis ! That's good to know ; do you think it would be appropriate to use this pattern for the whole javascript part of the gem ?

Collapse
lewiscowles1986 profile image
Lewis Cowles

Hey Louis,

I was thinking just for initial installation.

Not sure what you meant though. Sorry for slow reply.

Really enjoyed reading.