I have a gem installed but require 'gemname' does not work. Why?

前端 未结 11 1821
傲寒
傲寒 2020-12-14 00:02

The question I\'m really asking is why require does not take the name of the gem. Also, In the case that it doesn\'t, what\'s the easiest way to find the secret incantation

11条回答
  •  情书的邮戳
    2020-12-14 00:25

    An issue I just ran into was that the actual built gem was not including all the files that it should have.

    The issue with files was that there was a syntax mistake in the in the gemspec, but no errors were thrown during the build.

    Just adding this here in case anybody else runs into the same issue.

提交回复
热议问题