Gemfile in redis-actionpack-4.0.0 vs Gemfile in redis-actionpack-4.0.1

- old
+ new

@@ -1,16 +1,10 @@ source 'https://rubygems.org' gemspec -gem 'redis-store', '~> 1.1.0', path: '../redis-store' -gem 'redis-rack', '~> 1.5.0', path: '../redis-rack' - -version = ENV["RAILS_VERSION"] || "4" - -rails = case version -when "master" - {:github => "rails/rails"} -else - "~> #{version}.0" +if ::File.directory?(gem_path = '../redis-store') + gem 'redis-store', '~> 1.1.0', path: gem_path end -gem "rails", rails +if ::File.directory?(gem_path = '../redis-rack') + gem 'redis-rack', '~> 1.5.0', path: gem_path +end