GithubHelp home page GithubHelp logo

Comments (6)

andymeneely avatar andymeneely commented on June 26, 2024 1

The --prerelease thing is my way of having you be a beta tester for my fix - I'm going to put out an official release (v0.19) now.

from squib.

andymeneely avatar andymeneely commented on June 26, 2024

I'm looking into this - I've noticed something similar before but I haven't found the pattern. Might be a Ruby 3.0 thing. Have you tried upgrading Ruby?

from squib.

andymeneely avatar andymeneely commented on June 26, 2024

@InigoGutierrez Ok it looks like they've fixed their dependency issues since last I checked. Could you do a gem install --prerelease and let me know how it goes? Should install v0.19.0b.

If that doesn't work, do gem uninstall squib gobject-introspection and try again.

from squib.

InigoGutierrez avatar InigoGutierrez commented on June 26, 2024

I can't update ruby since I depend on the Arch Linux repositories.

By gem install -- prerelease I get you mean gem install squib -- prerelease? The first one fails and asks to provide at least one gem. Either before or after gem uninstall squib gobject-introspection (which only uninstalls gobject-introspection since I don't have squib), the result is the same as before without the prerelease flag, save for these differences, which don't seem relevant:

1c1,2
< Building native extensions. This could take a while...
---
> Building native extensions with: 'prerelease'
> This could take a while...
6c7
< /usr/bin/ruby -I /usr/lib/ruby/3.0.0 extconf.rb
---
> /usr/bin/ruby -I /usr/lib/ruby/3.0.0 extconf.rb prerelease
51c52
< make DESTDIR\= sitearchdir\=./.gem.20230328-21706-khe2jz sitelibdir\=./.gem.20230328-21706-khe2jz clean
---
> make DESTDIR\= sitearchdir\=./.gem.20230407-5316-4a1fw3 sitelibdir\=./.gem.20230407-5316-4a1fw3 clean
54c55
< make DESTDIR\= sitearchdir\=./.gem.20230328-21706-khe2jz sitelibdir\=./.gem.20230328-21706-khe2jz
---
> make DESTDIR\= sitearchdir\=./.gem.20230407-5316-4a1fw3 sitelibdir\=./.gem.20230407-5316-4a1fw3
102c103
<       |
---
>       |
105c106
<       |
---
>       |

Nonetheless, thank you for your time. I will check again once the ruby package at the Arch Linux repositories is updated. I also was able to install the squib library from source, so even if I don't have the executable I at least can run ruby code using it if I specify the local squib installation as a dependency for bundle. I haven't developed anything with ruby before but at least this solution allows making cards. Cool project you have here!

from squib.

andymeneely avatar andymeneely commented on June 26, 2024

Ah, I meant gem install squib --prerelease, or gem install squib --version 0.19.0b would be equivalent. I believe it's not an Arch linux thing - I was able to reproduce it on my mac.

from squib.

InigoGutierrez avatar InigoGutierrez commented on June 26, 2024

😲🤦🤦 That actually worked! I didn't know you could install a newer version of a gem with that. Since I see -- and prerelease in different lines in your previous comment, I thought it was gem install squib -- prerelease, separating prerelease from the arguments by -- as some programs do (like git), and not with --prerelease as a flag, which should have been obvious. My mistake!

So in summary, gem install squib --prerelease is a solution for the broken dependency problem. Thanks!

from squib.

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.