add_template_repository_to_source_path: undefined method 'mktmpdir'
zachmakesuwonder opened this issue · 2 comments
zachmakesuwonder commented
Here's what I did
rails new my_app \
-d postgresql \
-m https://raw.githubusercontent.com/mattbrictson/rails-template/master/template.rb
Here's my error.
As they said here I need to require 'tmpdir'
first.
Can't find a way to require 'tmpdir'
in your code here
My version of
rbenv 1.1.0
ruby 2.3.1
Rails 5.1.3
TIA!
mattbrictson commented
Thanks for the report! It seems this is due to version 0.20.0 of the thor
gem, which no longer requires tmpdir
automatically. I'll fix this later today.
mattbrictson commented
Fixed in 55c1b88.