Skip to content

Commit b00416b

Browse files
Merge pull request #137 from SampsonCrowley/edge
update install template to ensure a valid sqlite version if database option not provided
2 parents 90da337 + 271254c commit b00416b

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)