yegor256/tdx

method 'mktmpdir' for Dir:Class (NoMethodError)

Open

#12 opened on Mar 29, 2017

 (0 comments) (0 reactions) (0 assignees)Ruby (1 fork)github user discovery
bughelp wanted

Repository metrics

Stars
 (10 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Hello Yegor, I just read The TDD That Works For Me, and I wanted to give tdx a try, but I am getting the following error when I execute tdx git@github.com:yegor256/tdx.git graph.svg:

/usr/local/lib/ruby/gems/2.4.0/gems/tdx-0.2.9/lib/tdx/base.rb:135:in `checkout': undefined method `mktmpdir' for Dir:Class (NoMethodError)
Did you mean?  mkdir
        from /usr/local/lib/ruby/gems/2.4.0/gems/tdx-0.2.9/lib/tdx/base.rb:52:in `svg'
        from /usr/local/lib/ruby/gems/2.4.0/gems/tdx-0.2.9/bin/tdx:63:in `<top (required)>'
        from /usr/local/bin/tdx:22:in `load'
        from /usr/local/bin/tdx:22:in `<main>'

My environment is: macOS Sierra, ruby 2.4.0p0, gnuplot-5.0.5_2

Contributor guide