带 warbler 的供应/子模块 gem
这怎么能做到呢?这是我的最大努力:
用路径指定宝石。这会导致警告:
warning: Bundler `path' components are not currently supported.
The `acts_as_api-0.3.11' component was not bundled.
Your application may fail to boot!
应用程序几乎启动,给出此错误:
fatal: Not a git repository (or any of the parent directories): .git
其他想法,有不同程度的糟糕: - 在颤音之前删除/重命名 .git - 部署到 github,使用 git: 选项。尝试过这个,但有问题,因为它看起来像分支:选项没有被读取。没有深究。 - 尝试提前将宝石偷偷放入 config.gem_path = "WEB-INF/vendor/bundler_gems"
中。
How can this be done? Here's my best effort:
Specify gems with path. This causes warnings:
warning: Bundler `path' components are not currently supported.
The `acts_as_api-0.3.11' component was not bundled.
Your application may fail to boot!
The app almost boots, giving this error:
fatal: Not a git repository (or any of the parent directories): .git
Other ideas, with varying degrees of crapitude:
- remove/rename .git when before warbling
- deploy to github, use git: option. Tried this, but problematic as it looks like branch: option wasn't read. Didn't delve.
- Try and sneak the gems in to config.gem_path = "WEB-INF/vendor/bundler_gems"
ahead of time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管如此,出售的宝石似乎仍然有效。
The vendored gems seem to work nonetheless.