Ruby autoload conflicts between gmail and parse_resource gems

前端 未结 1 1076
萌比男神i
萌比男神i 2021-01-23 06:12

Earlier, I asked about autoload in the gmail gem not being able to find the files it wanted to load. In building a minimal script, I found the gmail gem loaded it\'s files when

1条回答
  •  悲哀的现实
    2021-01-23 06:48

    I had installed the gems with bundler.

    To fix the issue with loading both libraries, I installed the gems with the gem command: sudo gem install gmail parse_resource

    With this done, I was able to require the libraries in any order, and to connect to gmail and parse without issue.

    -Nick

    0 讨论(0)
提交回复
热议问题