Windows上的Heroku:无法“运行”任何东西

时间:2011-06-15 17:14:38

标签: heroku

当我尝试运行“heroku run rake db:migrate”或任何其他“heroku run< ...>”时命令,我明白了:

  

C:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.2.4/lib/heroku/helpers.rb:213:在   `': No such file or directory - tput cols (Errno::ENOENT) from C:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.2.4/lib/heroku/helpers.rb:213:in get_terminal_environment”           来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.2.4/lib/heroku/command/run.rb:16:in index' from C:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.2.4/lib/heroku/command.rb:114:in run'           来自C:/Ruby192/lib/ruby/gems/1.9.1/gems/heroku-2.2.4/bin/heroku:14:in <top (required)>' from C:/Ruby192/bin/heroku:19:in load'           来自C:/ Ruby192 / bin / heroku:19:in''

我该如何解决这个问题?

Windows 7,64位

2 个答案:

答案 0 :(得分:1)

通过安装cygwin ncurses包修复。

答案 1 :(得分:0)

您不是在寻找rake而不是run吗?

尝试heroku rake db:migrate