forked from redis-store/redis-rails
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
29 lines (22 loc) · 627 Bytes
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
source 'https://rubygems.org'
gemspec
if ::File.directory?(gem_path = '../redis-store')
gem 'redis-store', '~> 1.1.0', path: gem_path
end
if ::File.directory?(gem_path = '../redis-rack')
gem 'redis-rack', '~> 1.5.0', path: gem_path
end
if ::File.directory?(gem_path = '../redis-activesupport')
gem 'redis-activesupport', '~> 4.0.0', path: gem_path
end
if ::File.directory?(gem_path = '../redis-actionpack')
gem 'redis-actionpack', '~> 4.0.0', path: gem_path
end
version = ENV["RAILS_VERSION"] || "4"
rails = case version
when "master"
{:github => "rails/rails"}
else
"~> #{version}.0"
end
gem "rails", rails