Merb 遇到需要宝石的问题
我有 merb 设置,但是当我尝试运行它时,我尝试包含的任何 gem 都会出现问题,例如我有以下内容:
require 'RMagick'
安装了 rmagick gem,并在 irb 中执行上述操作(在需要 rubygems 之后) > 按预期工作)即使在 require RMagick 之前放置 require 'rubygems'
也无法解决问题。
I have merb setup but when I try to run it I get issue with any gems I try to include, e.g. I have the following:
require 'RMagick'
The rmagick gem is installed, and doing the above in irb (after requiring rubygems
works as expected) even putting require 'rubygems'
before I require RMagick doesn't fix the issue.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊哈似乎它与我的应用程序下 gems/ 目录中的冻结(?)宝石混淆了,删除它完全解决了问题。 将进一步研究这一点。
Ah-ha seems that it was getting confused with the frozen(?) gems in the gems/ directory under my app, removing that completely fixed the issue. Will look into that further.