Skip to content

Commit

Permalink
fix: add nokogiri config
Browse files Browse the repository at this point in the history
  • Loading branch information
SaadYousaf authored and SaadYousaf committed Sep 27, 2023
1 parent 857fff3 commit 52c4fdb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby-version }}
bundler-cache: true

- name: Configuring nokogiri gem to use native extensions
run: bundle config build.nokogiri --use-system-libraries

- name: Install dependencies
run: bundle install
Expand Down
1 change: 1 addition & 0 deletions Gemfile3
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ gem 'mongoid_magic_counter_cache'
gem 'will_paginate_mongoid', "~>2.0"
gem 'rdiscount'
gem 'nokogiri', "~> 1.8.1"
gem 'pkg-config', "~> 1.1"

gem 'elasticsearch', '~> 7.8.0'
gem 'elasticsearch-model', '~> 7.1.0'
Expand Down

0 comments on commit 52c4fdb

Please sign in to comment.