recommendify icon indicating copy to clipboard operation
recommendify copied to clipboard

`require': no such file to load -- redis (LoadError)

Open nellaivijay opened this issue 12 years ago • 4 comments

Hi, Thanks for your effort I am getting error message when I running the below commands in system, Please throw me light on the same.

vijayram@ubuntu:~/projects/recommendify/recommendify/doc$ ruby example.rb example.rb:3:in `require': no such file to load -- redis (LoadError) from example.rb:3

Thanks and Regards Vijay

nellaivijay avatar May 15 '12 00:05 nellaivijay

Do you install redis? Recommendify gem is running on the redis backend to store and restore key and value pair.

chanil1218 avatar May 15 '12 06:05 chanil1218

Hi Chanil, I have installed the Redis in my Ubuntu, Do we need to update environment variables anywhere.

Thanks and Regards Vijay

[email protected]

On Tue, May 15, 2012 at 2:34 AM, chanil.kim < [email protected]

wrote:

Do you install redis? Recommendify gem is running on the redis backend to store and restore key and value pair.


Reply to this email directly or view it on GitHub: https://github.com/paulasmuth/recommendify/issues/12#issuecomment-5709465

nellaivijay avatar May 15 '12 09:05 nellaivijay

Ah! You should install 'redis' gem either, as driver for ruby to interact with Redis. Add -- gem 'redis' in Gemfile at your project and bundle install to install redis gem. and try it again.

chanil1218 avatar May 16 '12 14:05 chanil1218

Aside from redis, hiredis is also required.

gem 'redis' gem 'hiredis' gem 'recommendify'

jcuervo avatar Aug 18 '12 14:08 jcuervo