gregburek / heroku-buildpack-toolbelt Goto Github PK
View Code? Open in Web Editor NEWDEPRECATED use https://github.com/heroku/heroku-buildpack-cli
License: MIT License
DEPRECATED use https://github.com/heroku/heroku-buildpack-cli
License: MIT License
pgbackups is now pg:backups - need new CLI
Hi,
Thanks for this buildpack. I v' got some errors when trying to run the heroku command inside a script.
Here's the traclog of the error
/app/vendor/heroku-toolbelt/lib/heroku/updater.rb:178:in `spawn': No such file or directory - heroku update (Errno::ENOENT)
from /app/vendor/heroku-toolbelt/lib/heroku/updater.rb:178:in `background_update!'
from /app/vendor/heroku-toolbelt/lib/heroku/updater.rb:159:in `inject_libpath'
from /app/vendor/heroku-toolbelt/bin/heroku:19:in `<main>'
The script which is responsible for the error is here. This is a simple script to automate backup of pg database.
PS: in case I've also patched it to avoid the unavailable jar
command in the cedar-14 stack
Let me know if a better solution exist at this time or you have any hint about solving this error.
Thanks
Running into the following error:
/app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- netrc (LoadError)
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/heroku-toolbelt/lib/heroku/auth.rb:6:in `<top (required)>'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/heroku-toolbelt/lib/heroku/client.rb:4:in `<top (required)>'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/heroku-toolbelt/lib/heroku.rb:1:in `<top (required)>'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/heroku-toolbelt/lib/heroku/cli.rb:4:in `<top (required)>'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from /app/vendor/ruby-2.0.0/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
from ./vendor/heroku-toolbelt/bin/heroku:22:in `<main>'
thx!
-karl
Hi,
As is discussed in other issues, master has some problemas with authentication due to the use of netrc.
The no-netrc branch looks like a good solution to this, but the buildpack fails to install with a mkdir: missing operand error.
Any idea on what might be causing this ?
regards,
Ricardo
Hi,
I've test this buildpack. It works. Good job!
I have some opinions to this buildpack.
Please consider them.
You wrote followings in README.md
$ cat .buildpacks
https://github.com/heroku/heroku-buildpack-toolbelt.git
But its url is not correct. Correct url is
https://github.com/gregburek/heroku-buildpack-toolbelt.git
You use HEROKU_TOOLBELT_API_EMAIL and HEROKU_TOOLBELT_API_PASSWORD to run heroku command.
But I think HEROKU_API_KEY is better than them.
I've verified run it with HEROKU_API_KEY and without HEROKU_TOOLBELT_API_EMAIL and HEROKU_TOOLBELT_API_PASSWORD
In this case, maybe gen-netrc.sh is not neccessary.
I hope to run command without path to bin.
I've been implemented this feature in other buildpack.
https://github.com/shunjikonishi/heroku-buildpack-ffmpeg/blob/master/bin/compile
You can do it by using .profile.d
Best
Shunji Konishi
I'm trying to get a Python app working on Heroku, and it needs access to the Toolbelt. Unfortunately, the slug compilation fails when it gets to Ruby, which I suspect is because I don't have a Gemfile
. Trying to make a minimal one that just specifies a Ruby version results in an error message about not having a Gemfile.lock
, which I don't know how to make, and I don't want to install Bundler and a bunch of Ruby stuff just to make one.
Is there some minimal set of files I can add to my repository to get Ruby and the Toolbelt to just work?
I've run this buildpack on Heroku on a single free worker. It listens to logs of my another app and on R14 Error restarts particular dyno. I've set env variables and at the begining it worked properly. Unfortunately after a couple of hours I saw loop of Authentication Errors in logs:
2013-09-16T10:39:59.902700+00:00 app[worker.1]: Enter your Heroku credentials.
2013-09-16T10:39:59.902700+00:00 app[worker.1]: Authentication failed.
2013-09-16T10:39:59.902700+00:00 app[worker.1]: Email: Password (typing will be hidden):
2013-09-16T10:39:59.902700+00:00 app[worker.1]: Authentication failed.
2013-09-16T10:44:42.865437+00:00 app[worker.1]: Email: Password (typing will be hidden):
2013-09-16T10:44:42.865437+00:00 app[worker.1]: Restarting web.1 dyno...
What can cause this problem? Maybe Heroku block toolbelt on it's platform?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.