Skip to content

Commit 79b19ad

Browse files
mamhofftvdeyen
authored andcommitted
Restrict sqlite3 for the extension generator
The task itself is fine, as it inherits from Rails' app generator, which has the sqlite3 restriction: https://github.com/rails/rails/blob/main/railties/lib/rails/generators/database.rb#L19. (cherry picked from commit e85fd4c) # Conflicts: # .circleci/config.yml
1 parent e406200 commit 79b19ad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.circleci/config.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,9 @@ commands:
222222
mkdir -p /tmp/dummy_extension
223223
cd /tmp/dummy_extension
224224
bundle init
225-
bundle add rails sqlite3 <<parameters.extra_gems>> --skip-install
225+
bundle add rails -v "< 7.1" --skip-install
226+
bundle add sqlite3 -v "~> 1.3" --skip-install
227+
test -n "<<parameters.extra_gems>>" && bundle add <<parameters.extra_gems>> --skip-install
226228
bundle add solidus --path "$(ruby -e"puts File.expand_path ENV['CIRCLE_WORKING_DIRECTORY']")"
227229
export LIB_NAME=set # dummy requireable file
228230
bundle exec rake -rrails -rspree/testing_support/extension_rake -e'Rake::Task["extension:test_app"].invoke'

0 commit comments

Comments
 (0)