Closed InigoGutierrez closed 1 year ago
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?
@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.
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!
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.
😲🤦🤦 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!
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.
Describe the bug
I am trying to install squib following the documentation: https://squib.readthedocs.io/en/v0.18.0/install.html
I am running
gem install squib
to do this. It depends on gobject-introspection, which depends on glib2, and it tries to install glib2-3.5.1 but this gem does not compile. The newest version on the dev branch has this dependency updated and cloning the repo and then runningbundle install
seems to have no dependency problem, but I don't know how to install the squib executable via source and there are no instructions on the documentation on how to do this.To Reproduce
gem install squib
Expected behavior
Squib installs.
Screenshots
This is the log, which I think is more appropiate here than a screenshot.
Environment
Additional context
I don't think there is any more relevant content. I am just trying to install the program.
Check the following:
gem install squib
)