heroku-toolbelt

Heroku Toolbelt switch between multiple account

孤街醉人 提交于 2019-12-21 03:12:08
问题 I would like to know what's the best way to switch between heroku account using the heroku toolbelt. I'm used to have a personnal heroku account which is a collaborator of all of my professionnal heroku app. The problem is when I want to make some changes that have a financial impact : adding / removing addon for example, I cannot do it as a collaborator. Before heroku toolbelt I was used to change the content of the file ~/.heroku/credentials but it does not exists anymore with the toolbelt.

Bundle command not found Windows x64

孤人 提交于 2019-12-20 17:19:10
问题 I just installed ruby with the Heroku Toolbelt, probem is that when I do bundle install it gives me this error: sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpreter: No such file or directory Acording to this question Bundle command not found. Bad Interpreter I should change the PATH, but I dont know how to do this, I have changed windows PATH enviorment variable, even changed to C:\ruby-1.9.2\bin I get a similar error: sh.exe": /c/ruby-1.9.3/bin/bundle: "c:

Bundle command not found Windows x64

流过昼夜 提交于 2019-12-20 17:18:04
问题 I just installed ruby with the Heroku Toolbelt, probem is that when I do bundle install it gives me this error: sh.exe": /c/Program Files (x86)/ruby-1.9.3/bin/bundle: "c:/Program: bad interpreter: No such file or directory Acording to this question Bundle command not found. Bad Interpreter I should change the PATH, but I dont know how to do this, I have changed windows PATH enviorment variable, even changed to C:\ruby-1.9.2\bin I get a similar error: sh.exe": /c/ruby-1.9.3/bin/bundle: "c:

Heroku Toolbelt install problems

北慕城南 提交于 2019-12-20 03:33:06
问题 I uninstalled the heroku gem and installed the Heroku Toolbelt and am running into issues getting it working w/ RVM. heroku version command works everywhere except my current project folder. In my project folder I get '/Users/cmalpeli/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:223:in 'block in replace_bin_path': can't find executable heroku (Gem::Exception) from ./bundler_stubs/heroku:16:in ` Running which heroku in my project directory returns: .

Heroku Toolbelt install problems

三世轮回 提交于 2019-12-20 03:33:01
问题 I uninstalled the heroku gem and installed the Heroku Toolbelt and am running into issues getting it working w/ RVM. heroku version command works everywhere except my current project folder. In my project folder I get '/Users/cmalpeli/.rvm/gems/ruby-1.9.3-p194@global/gems/bundler-1.1.3/lib/bundler/rubygems_integration.rb:223:in 'block in replace_bin_path': can't find executable heroku (Gem::Exception) from ./bundler_stubs/heroku:16:in ` Running which heroku in my project directory returns: .

Heroku CLI unresponsive on Ubuntu 16.04

跟風遠走 提交于 2019-12-19 11:24:22
问题 I'm trying to get heroku cli installed on Ubuntu 16.04, following the documentation here: Heroku CLI Documentation and while my system appears to install it correctly, whenever I try any Heroku commands like heroku login the terminal hangs, and becomes unresponsive. I'm not getting any error codes. Here's what I've tried: I've tried installing heroku via the following methods: wget -qO- https://cli-assets.heroku.com/install-ubuntu.sh | sh That didn't work, I uninstalled and tried this: sudo

Unable to connect to Heroku API, please check internet connectivity and try again

非 Y 不嫁゛ 提交于 2019-12-18 19:17:15
问题 I'm getting this error, but obviously I'm connected! I entered a ticket with Heroku 15 hours ago but received no response. C:\>heroku config Enter your Heroku credentials. Email: myemail@mydomain Password (typing will be hidden): ! Unable to connect to Heroku API, please check internet connectivity and try again. $ heroku status ! Unable to connect to Heroku API, please check internet connectivity and try again. I even re-installed Heroku client. I even pushed to Heroku while this problem was

'git push heroku master' is still asking for authentication

*爱你&永不变心* 提交于 2019-12-17 10:11:13
问题 I have executed: $ heroku login But when I try to push, I'm still asked for authentication: $ git push heroku master Username for 'https://git.heroku.com': <email> Password for 'https://<email>@git.heroku.com': Then I get a WARNING: Do not authenticate with username and password using Git. I ran heroku login again and authenticated successfully but I still get the same failure. I've checked the remote: $ git remote -v heroku https://git@heroku.com/appname.git (fetch) heroku https://git@heroku

How to enable quiet mode for Postgres commands on Heroku

霸气de小男生 提交于 2019-12-13 16:22:49
问题 When using the psql command line utility on my local machine, I have the option to use the -q or --quiet switch to tell Postgres to do it's work quietly - i.e. it won't print every single INSERT statement to the console if you're doing a large import. Here's an example of how I'm using it: psql -q -d <SOME_DATABASE> -f <SOME_SQL_FILE> However, when using the pg:psql command line utility in Heroku, that option doesn't seem to be available. So I'm currently having to use it like so: heroku pg

foreman says “unexpected EOF” in one of the SAME node app in 2 different places

时光毁灭记忆、已成空白 提交于 2019-12-13 09:35:45
问题 i have a sample node.js app in directoryA . Then i did foreman start in that directory and it worked fine. afterwords i copied that app into a new location and tried doing foreman start from there, it didn't work... here is what i did: $ ########## foreman works fine in directoryA ########## $ pwd you/cant/see/me/directoryA $ foreman start 22:28:30 web.1 | started with pid 80332 22:28:30 web.1 | Listening on 5000 ^C $ ########## copy the same node app from directoryA to directoryB ##########