Closed mvastola closed 1 year ago
What error are you seeing? With the 4.x release that turned this into a header-only library, there's really no need to require 'rice'
(it doesn't do anything anyway).
Oops. I was seeing cannot load such file
upon bundle exec rake compile
of my in-progress gem. I ended up with it because I used https://github.com/jasonroelofs/rice/blob/0c4199bbbea3344faf7ad04f70edb55c38613dd7/sample/callbacks/extconf.rb as my starter code.
I just assumed the file was needed, so I looked for how I could ensure it existed, so I set the source to git. Now that you point it out though, it should have clicked that because the file was empty I could just remove the require
(so I'll do that). I saw the comment required to load the Rice gem
and I didn't question it.
Ah, thanks for pointing that out. I will clean those up and see if any other stray requires are sitting around.
I've cleaned out lib/rice.rb
and all references to the file that I can find.
Hi, so I'm not sure why, but there seems to be an issue with the published gem (forcing me to use git):
lib/rice.rb
seems to be missing from the distributed version installed bygem
/bundle
.Just in case you weren't aware.