GithubHelp home page GithubHelp logo

remove-bg / ruby Goto Github PK

View Code? Open in Web Editor NEW
33.0 5.0 9.0 2.69 MB

Official ruby gem for the remove.bg API

Home Page: https://www.remove.bg/api

License: MIT License

Ruby 99.75% Shell 0.25%
ruby image-processing background-removal

ruby's People

Contributors

eniwito avatar groe avatar odlp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ruby's Issues

faraday/upload_io (LoadError)

I installed the library by putting it in the Gemfile of my Rails project, then executed bundle install.

When trying to start the Rails server, the following error is shown:

/Users/marcel/.rbenv/versions/2.6.4/lib/ruby/gems/2.6.0/gems/bootsnap-1.4.6/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require': cannot load such file -- faraday/upload_io (LoadError)

Installed library versions (bundle info):
remove_bg 1.2.1
faraday 1.0.1
multipart-post 2.1.1

My guess is that that there is an incompatibility with certain versions of the faraday or multipart-post dependencies.

EDIT: fixed it by locking faraday version to 0.17.3 (latest pre-1.0 version). So there seems to be an incompatibility with faraday >= 1.0.0.
Modified my Gemfile like this to get it to work:

gem 'faraday', '~> 0.17.3'
gem 'remove_bg', '~> 1.2'

request - add "account" endpoint

hi,

we'd like to show a live "remaining credits" counter in our app's admin panel. can you add e.g. RemoveBg.account or RemoveBg.me?

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.