【问题标题】:can't require 'graylog2_exceptions' in sinatra在 sinatra 中不能要求“graylog2_exceptions”
【发布时间】:2013-03-27 08:54:04
【问题描述】:

我有一个在

上运行的 sinatra 应用程序

ruby 1.9.3-p327with gemset exampleGemset(.rvmrc 文件)

当我跑步时

bundle exec gem list

我得到了宝石

friendlyfashion-graylog2_exceptions (1.3.2)

但是当我尝试使用 require 'graylog2_exceptions' 要求它时,我得到了这个错误

LoadError: cannot load such file -- graylog2_exceptions

有什么想法吗??

【问题讨论】:

标签: ruby sinatra graylog2


【解决方案1】:

使用 gem graylog2_exceptions 解决了这个问题 只需gem install graylog2_exceptions 就成功了

【讨论】:

    猜你喜欢
    • 2012-09-21
    • 1970-01-01
    • 2014-02-07
    • 1970-01-01
    • 2015-11-06
    • 1970-01-01
    • 1970-01-01
    • 2018-09-09
    相关资源
    最近更新 更多