我有一个系统,在这个系统中我使用了gem sinatra-activerecord (在我的Rakefile中,sinatra/activerecord需要sinatra/activerecord/rake )。我在rubygem中找过了,没有叫做sinatra-activrecord-rake的gem,那么它是sinatra-activerecord的哪一部分呢?另外,我怎样才能让我的gem的一部分成为必需的呢?
发布于 2016-08-08 23:22:17
当您需要sinatra/activerecord/rake时,实际上需要gem中的rake文件。
具体地说,就是库所需的this is the file。它不是来自任何sinatra-activerecord-rake宝石。
https://stackoverflow.com/questions/38832920
复制相似问题