GithubHelp home page GithubHelp logo

Comments (5)

route avatar route commented on May 16, 2024

@AlexWayfer does https://download-chromium.appspot.com/ show correct browser for your OS? You don't need to download Chromium, Chrome should also work if you have it installed.

I didn't want to overcomplicate things with downloading a browser like Puppeteer does, I don't like this approach. You can also set env vars or even do it in the code to setup correct path to the browser for Ferrum, how you get the browser is part of the provisioning of your system not part of installing a gem.

from ferrum.

AlexWayfer avatar AlexWayfer commented on May 16, 2024

@AlexWayfer does https://download-chromium.appspot.com/ show correct browser for your OS?

Doesn't matter, there is unstable build:

This is a raw build of Chromium for Linux x64, right off the trunk. It may be tremendously buggy.

image

I don't want to use unstable browser in my code.

how you get the browser is part of the provisioning of your system not part of installing a gem.

I think, if a gem requires a browser (can't work without it) — it's a part of the gem too.

Sadly, but as you wish.

from ferrum.

route avatar route commented on May 16, 2024

There are many libs around with this philosophy minimagick is only one of them it expects mogrify command to be in PATH. Ferrum doesn't have to use bleeding edge Chromium, don't you have stable Chrome installed?

from ferrum.

AlexWayfer avatar AlexWayfer commented on May 16, 2024

Ferrum doesn't have to use bleeding edge Chromium, don't you have stable Chrome installed?

I have, but some collaborators can be against installed Chrome (or Chromium) on their computers, or, more important, it can be harder to use in CI. Oh, though it can be installed as package for specific CI's image via standard commands… OK, I think it's not critical, it'd be just simpler. But… also now I'm understanding that library which installing "the latest available Chromium" locally and uses it — this version of Chromium will be stuck, so after a year of package installation you will use old Chromium even if there is fresh version on your computer. OK. Thank you for responses. I just wanted to clarify, discuss, consider both options.

from ferrum.

route avatar route commented on May 16, 2024

Good good, yes I still think it's overkill. Thanks

from ferrum.

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.