File: Gemfile

package info (click to toggle)
ruby-redis-rails 5.0.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster
  • size: 124 kB
  • sloc: ruby: 25; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 684 bytes parent folder | download
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.2.0", "< 1.4"], path: gem_path
# end

# if ::File.directory?(gem_path = "../redis-rack")
#   gem "redis-rack", "~> 2.0.0.pre", path: gem_path
# end

# if ::File.directory?(gem_path = "../redis-activesupport")
#   gem "redis-activesupport", '>= 4.0.0', '< 5.1', path: gem_path
# end

# if ::File.directory?(gem_path = "../redis-actionpack")
#   gem "redis-actionpack", ">= 4.0.0", '< 5.1', path: gem_path
# end

version = ENV["RAILS_VERSION"] || '5'

rails = case version
when "master"
  {:github => "rails/rails"}
else
  "~> #{version}.0"
end

gem "rails", rails