Skip to content

Commit 271254c

Browse files
update install template to ensure a valid sqlite version if database option is not provided
1 parent 90da337 commit 271254c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

install/rails-webpacker.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
gem 'foreman'
1515
end
1616

17+
# ----------------------------------- Ensure Sqlite has a valid version
18+
19+
gsub_file 'Gemfile', /gem\s+'sqlite3'(?!,\s+'.*')\n/, "gem 'sqlite3', '~> 1.3.6'\n"
20+
1721
# ----------------------------------- Create the folders
1822

1923
run 'mkdir app/hyperstack'

0 commit comments

Comments
 (0)