Giter VIP home page Giter VIP logo

Comments (5)

pzaich avatar pzaich commented on July 17, 2024

It looks like this is due to Heroku's lack of support for sqlite3 databases on Cedar14. DocRipper utilizes sqlite3 to read Sketch files which is why sqlite3 is a dependency of the library.

My recommendation is to include a Heroku buildpack that builds sqlite3 onto your production app servers. Here's one option (although I haven't had the opportunity to verify that it works with a sample rails application): https://github.com/lancecarlson/heroku-buildpack-sqlite3 I'd appreciate an update on your progress because I'd like to ensure this gem is functional on heroku!

Ultimately, if you do not need Sketch support, in the short-term you can revert back to gem 'doc_ripper', '~> 0.0.6'.

from doc_ripper.

malachaifrazier avatar malachaifrazier commented on July 17, 2024

Awesome. I'll giver a go today and report back!

from doc_ripper.

pzaich avatar pzaich commented on July 17, 2024

Any luck? I'd love to add some documentation to the ReadMe for Heroku support!

from doc_ripper.

malachaifrazier avatar malachaifrazier commented on July 17, 2024

I've been trying for a while now, but nothing seems to work for me. Looks like sqlite3 just will not work on Heroku. Period. :/

This is the latest version that works:gem 'doc_ripper', '0.0.5'

from doc_ripper.

pzaich avatar pzaich commented on July 17, 2024

Hi @malachaifrazier I've published a new version of the gem that makes sqlite3 an optional dependency. This means that sketch files will not be supported on Heroku instances. You can find the updated version here: https://rubygems.org/gems/doc_ripper/versions/0.0.7.2

from doc_ripper.

Related Issues (5)

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.