Giter VIP home page Giter VIP logo

Comments (5)

ged avatar ged commented on August 22, 2024

Original comment by eolamey (Bitbucket: eolamey, GitHub: eolamey).


I just realized this is a stupid question :) It actually only makes sense for packagers such as myself. What I want to do is distribute a RPM with the gem already compiled, so I need to have rake-compiler on the machine that produces the RPM, but my users won't. I need to remove the runtime dependency for them though, which might be a problem...

from ruby-pg.

ged avatar ged commented on August 22, 2024

Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).


Exactly right.

I'm not sure what the resolution is for packagers like yourself, but people who wish to install the gem from source will definitely need rake-compiler installed before they do so.

from ruby-pg.

ged avatar ged commented on August 22, 2024

Original comment by eolamey (Bitbucket: eolamey, GitHub: eolamey).


Michael,

Thank you for your answer, and sorry for taking up your time with silly tickets.
I solved the issue by packaging rake-compiler and added it as a build dependency for the RPM itself, but removed the dependency from the gem specification, once installed (a bit hacky, but I don't see any other solution).
If you ever need it, RPM packages can be found at http://pakk.96b.it/repositories/

from ruby-pg.

ged avatar ged commented on August 22, 2024

Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).


Great! And don't worry about the ticket. I'm happy to help out packagers if I can.

from ruby-pg.

ged avatar ged commented on August 22, 2024

Original comment by Michael Granger (Bitbucket: ged, GitHub: ged).


Made rake-compiler a dev dependency. Thanks to eolamey@bitbucket and Jeremy Evans for pointing out that it isn't needed for gem installation. (Fixes #93)

from ruby-pg.

Related Issues (20)

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.