Skip to content

Commit

Permalink
Support Rails 5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jhawthorn committed Jun 9, 2017
1 parent f4e2130 commit 332b01e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ branch = ENV.fetch('SOLIDUS_BRANCH', 'master')
gem "solidus", github: "solidusio/solidus", branch: branch
gem "solidus_auth_devise"

if branch == 'master' || branch >= "v2.0"
gem "rails-controller-testing", group: :test
if branch == 'master' || branch >= "v2.3"
gem 'rails', '~> 5.0.0' # hack for broken bundler dependency resolution
elsif branch >= "v2.0"
gem 'rails', '~> 5.0.0' # hack for broken bundler dependency resolution
else
gem "rails", "~> 4.2.7"
Expand Down

0 comments on commit 332b01e

Please sign in to comment.