aboutsummaryrefslogtreecommitdiffstats
path: root/Gemfile
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-04-29 11:12:44 +0200
committerutilum <oz@utilum.com>2018-04-29 11:28:20 +0200
commitf4eca1d6305dab0ffba3276fe9aef85cde7b2893 (patch)
tree85a6c8ad3544973274f82aabf1389ab1fd0f477f /Gemfile
parentcc5f077f093131693fdceec21ceadd317e8cbef7 (diff)
downloadrails-f4eca1d6305dab0ffba3276fe9aef85cde7b2893.tar.gz
rails-f4eca1d6305dab0ffba3276fe9aef85cde7b2893.tar.bz2
rails-f4eca1d6305dab0ffba3276fe9aef85cde7b2893.zip
Make Railties CI log for Ruby 2.6 accessible again
Pending the next release of Thor which [fixes](https://github.com/erikhuda/thor/commit/006832ea32480618791f89bb7d9e67b22fc814b9) calls to `ERB.new`, Railties CI log for Ruby 2.6 is flooded with so many warnings it is too long for Travis to handle: ``` /home/travis/.rvm/gems/ruby-head/gems/thor-0.20.0/lib/thor/actions/file_manipulation.rb:120: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments. /home/travis/.rvm/gems/ruby-head/gems/thor-0.20.0/lib/thor/actions/file_manipulation.rb:120: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead. /home/travis/.rvm/gems/ruby-head/gems/thor-0.20.0/lib/thor/actions/file_manipulation.rb:120: warning: Passing eoutvar with the 4th argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, eoutvar: ...) instead. The log length has exceeded the limit of 4 MB (this usually means that the test suite is raising the same exception over and over). The job has been terminated ``` https://travis-ci.org/rails/rails/jobs/372623604#L10000 https://api.travis-ci.org/v3/job/372623604/log.txt This patch forces installation of fixed Thor, and enables us to look at the the log.
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 1b7ea9b49f..fc7680c9bf 100644
--- a/Gemfile
+++ b/Gemfile
@@ -107,6 +107,8 @@ group :test do
platforms :mri do
gem "stackprof"
gem "byebug"
+ # FIXME: Remove this when thor 0.21 is release
+ gem "thor", git: "https://github.com/erikhuda/thor.git", ref: "006832ea32480618791f89bb7d9e67b22fc814b9"
end
gem "benchmark-ips"