From 80b0d2d24b4b7339b2ff2cecf159da3031887196 Mon Sep 17 00:00:00 2001 From: MaicolBen Date: Mon, 6 Jan 2025 16:33:34 -0300 Subject: [PATCH] Fix sqlite error --- .github/workflows/test.yml | 2 ++ devise_token_auth.gemspec | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 14ec6ec67..cf2f6a743 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -116,6 +116,8 @@ jobs: - name: Setup Bundler 1.x for Rails 4.x if: ${{ matrix.gemfile == 'gemfiles/rails_4_2.gemfile' || matrix.gemfile == 'gemfiles/rails_4_2_mongoid_5.gemfile' }} run: echo "BUNDLER_VERSION=1.17.3" >> $GITHUB_ENV + - name: Setup SQLite + run: apt-get install libsqlite3-dev - uses: ruby/setup-ruby@v1 with: ruby-version: ${{ matrix.ruby }} diff --git a/devise_token_auth.gemspec b/devise_token_auth.gemspec index 15482381e..393bb18e5 100644 --- a/devise_token_auth.gemspec +++ b/devise_token_auth.gemspec @@ -27,7 +27,7 @@ Gem::Specification.new do |s| s.add_dependency 'bcrypt', '~> 3.0' s.add_development_dependency 'appraisal' - s.add_development_dependency 'sqlite3', '~> 1.4' + s.add_development_dependency 'sqlite3', '~> 1.3', '< 1.4' s.add_development_dependency 'pg' s.add_development_dependency 'mysql2' s.add_development_dependency 'mongoid', '>= 4', '< 8'