0

I am working on Rails 2.3.8. I have following in my environment.rb

config.gem "redis"
config.gem "redis-namespace", :lib => "redis/namespace"

When I list my redis gems then I see:

redis (2.0.3)
redis-namespace(0.7.0)

When I run rake gems:install then I get an error that says:

no such file to load -- redis-namespace

Shouldn't requiring "redis/namespace" solve the issue? Can anyone please help me with this?

Sadiksha Gautam
  • 5,032
  • 6
  • 40
  • 71

1 Answers1

2

It sounds as if rake gems:install depends on the very gem it is trying to install.

Try using rails_gem_install or bundler instead.

Community
  • 1
  • 1
vladr
  • 65,483
  • 18
  • 129
  • 130