【问题标题】:Mongrel_rails can't find memcache-clientMongrel_rails 找不到内存缓存客户端
【发布时间】:2011-01-31 03:27:57
【问题描述】:

我们开始在我们的 Rails 应用程序中使用 memcache-client,它与“脚本/服务器”一起工作得很好,但“mongrel_rails start”失败并出现错误。

在 environment.rb 中,我们定义了“memcache-client”和版本“1.8.1”。 gem 列表显示 gem 已安装:memcache-client (1.8.1)。

如果使用“脚本/服务器”运行一切正常,但使用“mongrel_rails start”会失败并出现错误:
没有要加载的文件——memcache-client

有什么建议吗?与脚本/服务器相比,mongrel_rails 加载 gem 的方式有什么不同吗?还是我的设置坏了?

【问题讨论】:

    标签: ruby-on-rails rubygems memcached mongrel


    【解决方案1】:

    尝试将其作为“memcache”而不是 memcache-client。

    【讨论】:

      猜你喜欢
      • 2011-03-23
      • 1970-01-01
      • 1970-01-01
      • 2017-03-18
      • 2012-07-26
      • 2019-04-24
      • 1970-01-01
      • 2021-04-26
      • 1970-01-01
      相关资源
      最近更新 更多