heroku / legacy-cli

Heroku CLI
https://cli.heroku.com
MIT License
1.37k stars 382 forks source link

Heroku client internal error when I try to run heroku create #1988

Closed develaper closed 8 years ago

develaper commented 8 years ago

When I run heroku create that is the result:

! Heroku client internal error. ! Search for help at: https://help.heroku.com ! Or report a bug at: https://github.com/heroku/heroku/issues/new

Error: could not find a temporary directory (ArgumentError) Command: heroku create Version: heroku-toolbelt/3.43.7 (x86_64-linux) ruby/2.3.0 Error ID: 00f61fadb52f4517850b6d23bd74564d

And the content of my /.heroku/error.log file:

/usr/local/heroku/bin/heroku:25:in <main>' Heroku client internal error. could not find a temporary directory /home/ibrah/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tmpdir.rb:35:intmpdir' /home/ibrah/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tmpdir.rb:106:in tmpdir' /home/ibrah/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tmpdir.rb:125:increate' /home/ibrah/.rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/tmpdir.rb:86:in mktmpdir' /usr/local/heroku/lib/heroku/jsplugin.rb:135:insetup' /usr/local/heroku/lib/heroku/cli.rb:27:in start' /usr/local/heroku/bin/heroku:25:in

'

jdx commented 8 years ago

You don't have a temp directory configured. https://blog.diacode.com/fixing-temporary-dir-problems-with-ruby-2

develaper commented 8 years ago

it works perfect now. Thanks a lot!!