File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,8 @@ matrix:
104
104
- rvm : 2.3.0
105
105
env : RAILS_VERSION='~> 3.1.12'
106
106
allow_failures :
107
+ - rvm : 1.8.7
108
+ env : RAILS_VERSION='~> 3.2.17'
107
109
- rvm : 2.2.2
108
110
env : RAILS_VERSION=master
109
111
- rvm : 2.3.0
Original file line number Diff line number Diff line change
1
+ require 'nokogiri/version'
2
+
1
3
rspec_rails_repo_path = File . expand_path ( "../../" , __FILE__ )
2
4
rspec_dependencies_gemfile = File . join ( rspec_rails_repo_path , 'Gemfile-rspec-dependencies' )
3
5
rails_dependencies_gemfile = File . join ( rspec_rails_repo_path , 'Gemfile-rails-dependencies' )
18
20
gsub_file "Gemfile" , /.*debugger.*/ , ''
19
21
20
22
if Rails ::VERSION ::STRING >= '5.0.0'
21
- append_to_file ( 'Gemfile' , "gem 'rails-controller-testing', :git => 'https://github.com/rails/rails-controller-testing'" )
23
+ append_to_file ( 'Gemfile' , "gem 'rails-controller-testing', :git => 'https://github.com/rails/rails-controller-testing'\n " )
22
24
end
23
25
26
+ # Nokogiri version is pinned in rspec-rails' Gemfile since it tend to cause installation problems
27
+ # on Travis CI, so we pin nokogiri in this example app also.
28
+ append_to_file 'Gemfile' , "gem 'nokogiri', '#{ Nokogiri ::VERSION } '\n "
29
+
24
30
# Use our version of RSpec and Rails
25
31
append_to_file 'Gemfile' , <<-EOT . gsub ( /^ +\| / , '' )
26
32
|# Rack::Cache 1.3.0 requires Ruby >= 2.0.0
You can’t perform that action at this time.
0 commit comments