GithubHelp home page GithubHelp logo

Comments (5)

gregburek avatar gregburek commented on July 21, 2024

Can you please be more specific what your app is doing with the toolbelt? Other than pgbackups, I am curious as to what is missing from the API.

Try using as your .buildpacks file:

https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/python.tgz
https://github.com/gregburek/heroku-buildpack-toolbelt.git

from heroku-buildpack-toolbelt.

AGSPhoenix avatar AGSPhoenix commented on July 21, 2024

Can you please be more specific what your app is doing with the toolbelt?

So far, nothing. The Ruby buildpack aborts compilation because I have no Ruby dependencies specified (I think). With the .buildpacks file you specified:

No Gemfile:

$ git push
[snip]

-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz

 !     Push rejected, failed to compile Multipack app

With the following Gemfile:

source "https://rubygems.org"
ruby '2.1.4'

...and no Gemfile.lock

-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
=====> Detected Framework: Ruby
-----> Compiling Ruby/NoLockfile
 !
 !     Gemfile.lock required. Please check it in.
 !

 !     Push rejected, failed to compile Multipack app

from heroku-buildpack-toolbelt.

gregburek avatar gregburek commented on July 21, 2024

I was trying to ask why you are using the buildpack at all. What things are not provided in heroku.py that you will need in this app?

Try to delete the Ruby buildpack and push again. This buildpack should be able to use system Ruby.

On Sat, Nov 15, 2014 at 3:07 AM, AGSPhoenix [email protected]
wrote:

Can you please be more specific what your app is doing with the toolbelt?
So far, nothing. The Ruby buildpack aborts compilation because I have no Ruby dependencies specified (I think). With the .buildpacks file you specified:
No Gemfile:

$ git push
[snip]
-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
 !     Push rejected, failed to compile Multipack app

With the following Gemfile:

source "https://rubygems.org"
ruby '2.1.4'

...and no Gemfile.lock

-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://codon-buildpacks.s3.amazonaws.com/buildpacks/heroku/ruby.tgz
=====> Detected Framework: Ruby
-----> Compiling Ruby/NoLockfile
 !
 !     Gemfile.lock required. Please check it in.
 !
 !     Push rejected, failed to compile Multipack app

Reply to this email directly or view it on GitHub:
#11 (comment)

from heroku-buildpack-toolbelt.

AGSPhoenix avatar AGSPhoenix commented on July 21, 2024

Wow, that wrapper is not mentioned anywhere (or at least anywhere obvious) in the documentation on the main Heroku site. There's such an emphasis on the command line that I assumed it to be the intended way to interact with the service.

Try to delete the Ruby buildpack and push again. This buildpack should be able to use system Ruby.

Sure enough, it works without the Ruby buildpack. I wouldn't have expected the base system to include Ruby, since it's a waste of space for the many apps that don't need it, and the .buildpacks file in the readme including it only cemented that belief. Thanks for clearing up the confusion.

Maybe you could update the readme to guide poor confused idiots like me on their way? I'm not sure what would be best, but a line like 'for languages without existing API wrappers' might have saved me quite a bit of time.

Regardless, I'm going to be sending some grumpy feedback to Heroku about the fact that I found out they had an official API wrapper, not through days of looking at the official documentation, but because some random guy on the internet told me about it.

I'll leave this issue open since I think you should update the readme, but if you think it's unlikely others will encounter the same problem, feel free to close it.

from heroku-buildpack-toolbelt.

gregburek avatar gregburek commented on July 21, 2024

Yeah, we try to emphasize The Heroku API, but it is advanced stuff that we don't make as readily available as the cli, which is already pretty hard for all users to use. The addition of v2 and v3 API clients makes it even harder.

This buildpack is primarily for pgbackups commands which are a private API and are being phased out. Please open issues on the various language specific clients if you run into something not well defined or supported. I'll add a further note that this buildpack is for a specific purpose. Thanks!

from heroku-buildpack-toolbelt.

Related Issues (8)

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.