Coder Social home page Coder Social logo

Comments (9)

beanieboi avatar beanieboi commented on June 6, 2024 1

@bcardiff i worked on a couple of buildpacks before, i will try to add gmp to the buildpack, to remove this restriction.

from heroku-buildpack-crystal.

bcardiff avatar bcardiff commented on June 6, 2024

libgmp is there since 0.16 at least.
using "big" of the std requires gmp which is not installed by default.
related crystal-lang/homebrew-crystal#15 (comment)

Are you using big_* explicitly in your code?

We might need to work something similar to https://github.com/begriffs/heroku-buildpack-ghc to get gmp installed by default in heroku just in case :-(

Or finding/building a buildpack to install gmp, but I am not sure that will work.

from heroku-buildpack-crystal.

beanieboi avatar beanieboi commented on June 6, 2024

i added sidekiq as a dependency and sidekiq uses big_float (https://github.com/mperham/sidekiq.cr/blob/master/src/sidekiq/core_ext.cr#L1). this means no Sidekiq on Heroku :(

from heroku-buildpack-crystal.

beanieboi avatar beanieboi commented on June 6, 2024

@mperham do you think you can remove the patch, it looks like this got fixed in a newer version of crystal.

from heroku-buildpack-crystal.

mperham avatar mperham commented on June 6, 2024

Yep, this was needed pre-0.18 but no more, removed from master.

from heroku-buildpack-crystal.

beanieboi avatar beanieboi commented on June 6, 2024

@mperham thanks so much!

from heroku-buildpack-crystal.

bcardiff avatar bcardiff commented on June 6, 2024

Isn't it nice when the "fix" is to delete code? :-)

Let's leave this open until gmp or other runtime dependencies are added in the buildpack.

from heroku-buildpack-crystal.

bacongobbler avatar bacongobbler commented on June 6, 2024

@beanieboi if you can write a fixture + unit test that covers this problem after #12 is merged, it should be easy to confirm the fix works.

from heroku-buildpack-crystal.

beanieboi avatar beanieboi commented on June 6, 2024

@bacongobbler sure, will look into it.

from heroku-buildpack-crystal.

Related Issues (14)

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.