问题标签 [heroku-toolbelt]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
heroku - 如何在不手动输入凭据的情况下从脚本运行 heroku 命令
如何在不先登录的情况下运行 heroku 命令?
我已经尝试将 .netrc 文件放入 ~ 中,但没有奏效。是否有一些环境变量或命令行可以让我开始运行 Heroku 的东西而无需手动干预?
我们有几个一次性的 heroku 工作人员,我们正在尝试使用 nagios 来查看他们是否启动并接受命令。
如果我在这台机器上以正确的用户身份手动登录 heroku 后运行这个脚本,它就可以工作。如果我没有,那就没有。并且由于我们试图实现完全自动化的实例设置和配置的完美世界,heroku 正在成为一个问题。
据我所知(请记住,我不是 heroku 人,我们的 heroku 人自己也不是很确定),设置 netrc 文件应该可以工作,但它只是不断被 heroku 清除。我必须相信他们对此有支持。
脚本是:
/另外,我承认我们可能是白痴,试图破解 nagios 来检查 heroku 是否启动。有没有更好(免费,简单)的解决方案?
ruby-on-rails - 推入heroku repo
我目前正在学习如何使用 Heroku,但遇到了一些麻烦。
当我输入命令时
我收到消息
我目前在我的计算机上设置了 git,并为我的机器添加了 RSA 密钥。
我假设有一个单独的 RSA 密钥需要添加到我的 heroku 帐户中?我不完全确定。
***编辑* ** * ** * ** * ***
我发现出了什么问题。我需要添加我的密钥
但是,我现在遇到了另一个问题。
基本上,我创建了一个我想上传的 Rails 应用程序,但我在我的 heroku 帐户中删除了它。我创建了另一个应用程序,我想使用这个应用程序。然而当我
我会收到消息
rocky-gorge-9306 是我以前的应用程序,而不是我创建的新应用程序
当我输入命令
我明白了
heroku - 有没有办法为 Heroku Toolbelt 设置默认应用程序?
我在 heroku 有多个应用程序/git 远程,我想知道是否可以配置一个默认应用程序,以便每当我忘记指定应用程序 ( --app
) 时,工具带都会使用它。
heroku - 尽管我只有一个应用程序,但在每个 heroku 命令中都写应用程序名称很无聊
Heroku toolbelt 总是强迫我在最后写一个应用程序名称,如下所示:
有没有办法设置我的所有 CLI heroku 命令都适用的默认应用程序?
node.js - 启动工头时出错 (Dotenv::FormatError)
我正在尝试让 node.js 应用程序开始使用工头。我在项目根目录中运行forman start
命令,我不断收到以下错误:
该项目使用相同的命令在我的同事机器上运行良好。我正在使用 OSX 10.8.4。
有任何想法吗?
谢谢!
facebook - 尝试将heroku中的fb应用程序克隆到github时出现权限被拒绝错误
我正在尝试制作一个 fb 应用程序。我按照(https://devcenter.heroku.com/articles/facebook#working-locally,“this”)链接中的教程进行操作。要使用 Git 获取我的应用程序源代码的副本,请在 windows7 cmd 中使用以下 camand。
但是有一个错误权限被拒绝致命:无法从远程存储库读取。请确保您具有正确的访问权限并且存储库存在。
ruby-on-rails - Heroku dyno crashes with message app[web.1]: /usr/bin/env: ruby.exe: No such file or directory
I have a basic rails application which works on my windows 8 desktop (rails_12factor, ruby 1.9.3, rails 4, postgres) - using rails server
- I am able to navigate to the application website on my local browser and everything renders fine.
I push the application up to heroku via git push heroku master
and everything seems to go fine. The only warning I see is "Removing Gemfile.lock
because it was generated on Windows." The process ends with the following message - "Launching... done, v9".
However on running "heroku ps" I get the following:
=== web (1X): bin/rails server -p $PORT -e $RAILS_ENV
web.1: crashed 2013/07/12 00:42:20 (~ 4s ago)
On doing heroku logs --tail, I get the following being repeated in the log files - :
I saw stuff on the web that had me check .gitignore to see if the contents of my local bin folder were getting excluded. They are not. I also saw suggestions to edit the contents of the bin folder and remove the word .exe after ruby - I tried that as well.
EDIT 1: My project has a subfolder bin, with 3 files bundle, rail and rake. These are the only files which start with #!/usr/bin/env ruby. I also edited the first line to read #!/usr/bin/env ruby*.exe* - the error was still seen. Here is the content of each file :
bundle
rails
rake
heroku - Heroku 创建 - 不会创建
I'm setting my son's (ancient) machine up so I can start teaching him how to code. I've installed RVM, updated Ruby and Rails. I had a problem installing Heroku Toolbelt but I found an item that said to install it using Homebrew. So I did that and thought I'd be on my way.
However, when I type "heroku create" I get the following message:
This machine is running Mac OS Snow Leopard 10.6.8. Ruby 1.9.3 and Rails 3.2.13.
I've tried everything I can think of and haven't been able to find an answer. Has anyone else been able to fix this issue?
Thanks
heroku-toolbelt - Heroku 创建命令失败 - 没有这样的文件或目录
我正在尝试将我的第一个 rails 应用程序部署到 heroku,不幸的是,在运行heroku create
命令时出现错误:
我最初的想法是 GIT 不在路径中,否则无法调用,但我通过简单地运行将其作为问题的一部分消除了git --version
:
所以,一切似乎都井然有序。其他人知道可能出了什么问题吗?
我运行的是 Windows 7,Heroku 客户端的版本是heroku/toolbelt/2.39.4 (i386-mingw32) ruby/1.9.3
.
heroku - heroku 客户端内部错误 - 控制台超时
heroku 日志有效,但 heroku 运行控制台超时:
!Heroku 客户端内部错误。!在以下位置搜索帮助:https ://help.heroku.com !或报告错误:https ://github.com/heroku/heroku/issues/new