当我尝试运行“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:inindex' 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位
答案 0 :(得分:1)
通过安装cygwin ncurses包修复。
答案 1 :(得分:0)
您不是在寻找rake
而不是run
吗?
尝试heroku rake db:migrate