Windows 上的 Heroku - “没有这样的文件或目录" [英] Heroku on windows - 'no such file or directory'

查看:28
本文介绍了Windows 上的 Heroku - “没有这样的文件或目录"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我按照 Windows 上的 Heroku 安装说明进行操作,让 git 从 ruby​​ 命令行(路径环境变量集)运行,但是每次我尝试运行基本的 heroku create 命令时,都会收到以下错误:

I've followed the Heroku installation instruction on windows, have git working from the ruby command line (path env variable set), but each time i try to run a basic heroku create command, i get the following error:

c:/ruby192/lib/ruby/1.9.1/gems/heroku-2.0.2/lib/heroku/command/base.rb:83in 'read': No such file or directory - C (Errno:ENOENT)

我已将我的可执行目录添加到路径环境变量 (c:\ruby192\bin) 中,这是从 stackoverflow 获得 root 的指导,但这似乎没有帮助.

I've added my executable directory to the path environment variable (c:\ruby192\bin) which was the guidance from rooting round stackoverflow, but this didnt seem to help.

有什么想法吗?提前致谢.

Any thoughts? thanks in advance.

推荐答案

我昨天经历了同样的事情.这是Heroku gem 2.0.2 的问题.

I went through the same thing yesterday. It was an issue with Heroku gem 2.0.2.

此线程帮助我解决了问题尝试时出错在 Windows 上创建 Heroku 应用.

this thread helped me solve the issue Error when trying to create Heroku app on Windows.

我做了:gem install heroku 2.0.4heroku keys:addheroku create,一切正常.

I did: gem install heroku 2.0.4 to heroku keys:add to heroku create, and everything worked as it should.

我相信这是 2.0.2 版的一个错误,Heroku 2.0.4 应该可以工作.

It was a bug with version 2.0.2 i believe, Heroku 2.0.4 should work.

这篇关于Windows 上的 Heroku - “没有这样的文件或目录"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆