[英]Rails can't find exception_notification gem even though I have it installed
I recently installed the exception_notification plugin/gem (I'm confused as to whether it's properly install as a plugin or as a gem) and I'm getting this: 我最近安装了exception_notification插件/ gem(我对它是作为插件还是作为gem正确安装感到困惑),而我得到了:
Could not find exception_notification-2.4.1 in any of the sources (Bundler::GemNotFound)
This is in spite of the fact that I already have that version of the gem installed: 尽管事实上我已经安装了该版本的gem:
$ gem list | grep exception_notification
exception_notification (2.5.2, 2.4.1)
Any ideas? 有任何想法吗?
Maybe you're using a vendored bundle? 也许您正在使用供应商捆绑包?
If so, it sounds like you just need to run 如果是这样,听起来您只需要运行
bundle install
In your rails directory. 在您的rails目录中。 (Assuming you've already added that gem to your Gemspec).
(假设您已经将该宝石添加到了Gemspec中)。
http://gembundler.com/rails3.html http://gembundler.com/rails3.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.