ankane/neighbor

SQLite with Rails 8 (RC)

Closed this issue · 1 comments

Apologies, I hit enter far too soon.

I am trying to walk through the new (experimental) SQLite support, but when installing the gems I am getting an error:

Could not find gems matching 'sqlite-vec (= 0.1.3)' valid for all resolution platforms
(aarch64-linux, aarch64-linux-gnu, aarch64-linux-musl, arm-linux, arm-linux-gnu,
arm-linux-musl, arm64-darwin, x86-linux, x86-linux-gnu, x86-linux-musl, x86_64-darwin,
x86_64-linux, x86_64-linux-gnu, x86_64-linux-musl, arm64-darwin-23) in rubygems
repository https://rubygems.org/ or installed locally.

The source contains the following gems matching 'sqlite-vec (= 0.1.3)':

  • sqlite-vec-0.1.3-arm64-darwin
  • sqlite-vec-0.1.3-x86_64-darwin
  • sqlite-vec-0.1.3-x86_64-linux
  • sqlite-vec-0.1.3-x86_64-mingw32

Is there something I have to do to narrow the platform options? This is with Rails 8 RC, so perhaps it is too bleeding edge.

Thanks,
Scott

Hi @scottwater, it sounds like your Gemfile.lock has platforms for which there isn't a published sqlite-vec gem.

You can remove platforms with bundle lock --remove-platform, but it'd probably be better to report this to sqlite-vec (as projects that publish precompiled gems typically publish a source gem for other platforms).