```ruby
# Load the redis configuration from resque.yml

Resque.redis = YAML.load_file(Rails.root.join("/config/resque.yml"))[Rails.env.to_s]
```

Use File to grab yml redis file
user
```ruby
# Load the redis configuration from resque.yml
Resque.redis = YAML.load_file(File.join(Rails.root, "config", "resque.yml"))[Rails.env.to_s]
```
assistant