File tree Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Expand file tree Collapse file tree 2 files changed +29
-1
lines changed Original file line number Diff line number Diff line change @@ -13,4 +13,16 @@ matrix:
13
13
include :
14
14
- rvm : 2.2.3
15
15
env : RAILS_VERSION="4.2.5"
16
+ # Rails doesn't officially support Ruby 2.4 yet (so also test latest stable)
17
+ - rvm : 2.4.0
18
+ env : RAILS_VERSION='4-2-stable'
19
+ allow_failures :
20
+ # Rails doesn't officially support Ruby 2.4 yet (so also test latest stable)
21
+ - rvm : 2.4.0
22
+ env : RAILS_VERSION='~> 4.2.0'
23
+ - rvm : 2.4.0
24
+ env : RAILS_VERSION='4-2-stable'
25
+ # Rails doesn't officially support Ruby 2.4 yet (multiple fixes in pipeline)
26
+ - rvm : 2.4.0
27
+ env : RAILS_VERSION='~> 4.2.0'
16
28
fast_finish : true
Original file line number Diff line number Diff line change @@ -4,7 +4,23 @@ version = ENV.fetch('RAILS_VERSION') {
4
4
}
5
5
6
6
if version && !version.empty?
7
- gem "rails", version
7
+ if version.end_with?("stable")
8
+ gem_list = %w[
9
+ rails
10
+ railties
11
+ actionmailer
12
+ actionpack
13
+ activerecord
14
+ activesupport
15
+ activejob
16
+ actionview
17
+ ]
18
+ gem_list.each do |rails_gem|
19
+ gem rails_gem, git: "https://github.com/rails/rails.git", branch: version
20
+ end
21
+ else
22
+ gem "rails", version
23
+ end
8
24
elsif RUBY_VERSION.to_f < 2.4
9
25
gem "rails", "~> 4.2.0"
10
26
else
You can’t perform that action at this time.
0 commit comments