Skip to content

[fix](build): Gemfile(sqlite3 2.5 has dependency errors)#700

Merged
RalphHightower merged 1 commit intomainfrom
RalphHightower-patch-384900
Jan 16, 2025
Merged

[fix](build): Gemfile(sqlite3 2.5 has dependency errors)#700
RalphHightower merged 1 commit intomainfrom
RalphHightower-patch-384900

Conversation

@RalphHightower
Copy link
Copy Markdown
Owner

No description provided.

@RalphHightower RalphHightower added dependency – Ruby Ruby dependencies fix Fix problem(s) labels Jan 16, 2025
@RalphHightower RalphHightower self-assigned this Jan 16, 2025
@RalphHightower RalphHightower merged commit 4e46b74 into main Jan 16, 2025
@RalphHightower
Copy link
Copy Markdown
Owner Author

RalphHightower commented Jan 16, 2025

Build with Jekyll

Run bundle exec jekyll build --trace --incremental --baseurl "/blog"
  bundle exec jekyll build --trace --incremental --baseurl "/blog"
  shell: /usr/bin/bash -e {0}
  env:
    GITHUB_PAGES: true
    JEKYLL_ENV: production
    JEKYLL_GITHUB_TOKEN: 
    LOG_LEVEL: debug
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Configuration file: /home/runner/work/blog/blog/_config.yml
            Source: /home/runner/work/blog/blog
       Destination: /home/runner/work/blog/blog/_site
 Incremental build: enabled
      Generating... 
  AI Related Posts: Creating cache [.ai_related_posts_cache.sqlite3]
bundler: failed to load command: jekyll (/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll)
/home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/sqlite-vss-0.1.2-x86_64-linux/lib/sqlite_vss.rb:15:in `load_extension': libblas.so.3: cannot open shared object file: No such file or directory (RuntimeError)
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/sqlite-vss-0.1.2-x86_64-linux/lib/sqlite_vss.rb:15:in `load_vss'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/sqlite-vss-0.1.2-x86_64-linux/lib/sqlite_vss.rb:19:in `load'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll_ai_related_posts-0.1.4/lib/jekyll_ai_related_posts/generator.rb:194:in `setup_database'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll_ai_related_posts-0.1.4/lib/jekyll_ai_related_posts/generator.rb:19:in `generate'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:193:in `block in generate'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:191:in `each'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:191:in `generate'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/site.rb:79:in `process'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:28:in `process_site'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:65:in `build'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:36:in `process'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `each'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/lib/jekyll/commands/build.rb:18:in `block (2 levels) in init_with_program'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/gems/jekyll-4.3.4/exe/jekyll:15:in `<top (required)>'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll:25:in `load'
	from /home/runner/work/blog/blog/vendor/bundle/ruby/3.3.0/bin/jekyll:25:in `<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `load'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli/exec.rb:58:in `kernel_load'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli/exec.rb:23:in `run'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli.rb:455:in `exec'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli.rb:35:in `dispatch'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/cli.rb:29:in `start'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:28:in `block in <top (required)>'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/3.3.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/lib/ruby/gems/3.3.0/gems/bundler-2.5.22/exe/bundle:20:in `<top (required)>'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle:25:in `load'
	from /opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle:25:in `<main>'
Error: Process completed with exit code 1.

@RalphHightower RalphHightower added the action – failure Failure during an Action label Jan 16, 2025
@RalphHightower
Copy link
Copy Markdown
Owner Author

Setup Ruby

Run ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
  with:
    ruby-version: 3.3.6
    bundler-cache: true
    cache-version: 3
Modifying PATH
  Entries added to PATH to use selected Ruby:
    /opt/hostedtoolcache/Ruby/3.3.6/x64/bin
Downloading Ruby
  https://github.com/ruby/ruby-builder/releases/download/toolcache/ruby-3.3.6-ubuntu-24.04.tar.gz
  Took   0.42 seconds
Extracting  Ruby
  /usr/bin/tar -xz -C /opt/hostedtoolcache/Ruby/3.3.6 -f /home/runner/work/_temp/aed5477b-5548-441a-b9c7-606b5eeb537e
  Took   0.50 seconds
Print Ruby version
  /opt/hostedtoolcache/Ruby/3.3.6/x64/bin/ruby --version
  ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [x86_64-linux]
  Took   0.02 seconds
Installing Bundler
  Using Bundler 2 shipped with ruby-3.3.6
  Took   0.00 seconds
> bundle install
/opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle config --local path /home/runner/work/blog/blog/vendor/bundle
/opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle lock
Fetching gem metadata from https://rubygems.org/..........
Resolving dependencies...
Writing lockfile to /home/runner/work/blog/blog/Gemfile.lock
Cache key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.3.6-wd-/home/runner/work/blog/blog-with--without--only--v-3-Gemfile.lock-4971da0746f58f57b53c6664c280dcfdd0ff058405aea41017f0417887a2794d
Cache Size: ~36 MB (38133466 B)
/usr/bin/tar -xf /home/runner/work/_temp/de13f261-dc84-44a3-baf4-15c04ad0f8b0/cache.tzst -P -C /home/runner/work/blog/blog --use-compress-program unzstd
Received 38133466 of 38133466 (100.0%), 36.3 MBs/sec
Cache restored successfully
Found cache for key: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.3.6-wd-/home/runner/work/blog/blog-with--without--only--v-3-Gemfile.lock-223830bba6e8bca7a575af19361b059860ab24dbf1297dbe645ff89dcd9a6dd8
/opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle install --jobs 4
Fetching gem metadata from https://rubygems.org/.........
Fetching concurrent-ruby 1.3.5
Installing concurrent-ruby 1.3.5
Bundle complete! 23 Gemfile dependencies, 75 gems now installed.
Bundled gems are installed into `./vendor/bundle`
1 installed gem you directly depend on is looking for funding.
  Run `bundle fund` for details
/opt/hostedtoolcache/Ruby/3.3.6/x64/bin/bundle clean
Removing concurrent-ruby (1.3.4)
Saving cache
/usr/bin/tar --posix -cf cache.tzst --exclude cache.tzst -P -C /home/runner/work/blog/blog --files-from manifest.txt --use-compress-program zstdmt
Cache Size: ~36 MB (38133546 B)
Cache saved successfully
Took   9.26 seconds.```

@RalphHightower RalphHightower deleted the RalphHightower-patch-384900 branch June 24, 2025 04:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action – failure Failure during an Action dependency – Ruby Ruby dependencies fix Fix problem(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant