IAPark / tiktoken_ruby

Unofficial ruby binding for tiktoken by way of rust
MIT License
118 stars 26 forks source link

Error installing gem on Linux Xenial Ruby 3.0/1 AMD64 #32

Open MarioRuiz opened 6 months ago

MarioRuiz commented 6 months ago

when Running the tests on travis-ci using Linux Xenial Ruby 3.0/1 AMD64 I get

Could not find gems matching 'tiktoken_ruby' valid for all resolution platforms
(aarch64-linux, arm-linux, arm64-darwin, x86_64-darwin, x86_64-linux-musl) in
rubygems repository 
IAPark commented 6 months ago

Can you try bundle exec rake build first and if that doesn't help specify exactly what command went wrong?

MarioRuiz commented 6 months ago

Job logs are here https://app.travis-ci.com/github/MarioRuiz/slack-smart-bot/jobs/620128833

IAPark commented 6 months ago

Hum, slightly weird ok so the thing that is failing is resolving the gem from rubygems. I notice that on some newer builds your getting an error with rust not being installed perhaps because it couldn't find a precompiled version, but I'm a bit confused as to why it didn't use something precompiled in the example you gave?

IAPark commented 6 months ago

I've mentioned elsewhere that this project is something I don't have the bandwidth to do a ton with, mostly I'm just trying to review PRs when other people fix things and deploy them. Because the original error was about version 0.0.7 which has been out for a bit I'm inclined to guess the issue is pretty specific to your case rather than being something wrong with version 0.0.8 which I just released, but please let me know if you find a root cause?

MarioRuiz commented 5 months ago

different issue with 0.0.8 https://app.travis-ci.com/github/MarioRuiz/slack-smart-bot/jobs/620178528