简体   繁体   中英

Mongrel_rails can't find memcache-client

We started to use memcache-client in our rails app and it works just fine with "script/server" but "mongrel_rails start" fails with an error.

In environment.rb we define "memcache-client" and version "1.8.1". Gem list shows that the gem is installed: memcache-client (1.8.1).

If run with "script/server" everything works but with "mongrel_rails start" it fails with error:
no such file to load -- memcache-client

Any advice what could be wrong here? Is there something different in the way mongrel_rails loads the gems compared to script/server? Or is my setup just broken?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM