GithubHelp home page GithubHelp logo

heroku-buildpack-toolbelt's People

Contributors

gregburek avatar msakrejda avatar zunda avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

heroku-buildpack-toolbelt's Issues

Error when running heroku command

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 jarcommand 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

`require': cannot load such file -- netrc (LoadError)

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

no-netrc branch fails to install

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

Some opinions

Hi,
I've test this buildpack. It works. Good job!

I have some opinions to this buildpack.
Please consider them.

Error of usage

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

How to authentication

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.

Export path to heroku command.

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

Usage unclear for non-Ruby users

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?

Authentication failed

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.