diff options
author | Stan Hu <stanhu@gmail.com> | 2016-06-23 16:51:42 +0000 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2016-06-23 16:51:42 +0000 |
commit | cab0051371fc6c583e0b64806b5a8e5ce0c8239a (patch) | |
tree | cf6145a44c01732eb18af374c905c0efed1b310a /lib/gitlab_redis.rb | |
parent | c5f2cffb1b1efe0bb017839308f6da6291d9d40a (diff) | |
parent | 339b79b07e6262e856332057dc73eca7a293dcc5 (diff) | |
download | gitlab-shell-cab0051371fc6c583e0b64806b5a8e5ce0c8239a.tar.gz |
Merge branch 'gitlab-redis' into 'master'
Put Redis loading code in one place
Before this change you could not run the gitlab_net specs in isolation.
See merge request !64
Diffstat (limited to 'lib/gitlab_redis.rb')
-rw-r--r-- | lib/gitlab_redis.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gitlab_redis.rb b/lib/gitlab_redis.rb new file mode 100644 index 0000000..d34cc26 --- /dev/null +++ b/lib/gitlab_redis.rb @@ -0,0 +1,2 @@ +$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'vendor/redis/lib'))) +require 'redis' |