Removed the setup rake task to run bundler and replaced it with a shell script

This commit is contained in:
Gregory Ballantine 2023-07-06 11:49:48 -04:00
parent 7655b75410
commit b8bec03357
2 changed files with 6 additions and 7 deletions

View File

@ -1,12 +1,5 @@
require 'bundler/setup'
task :setup do
# Set bundle to install gems to local vendor path
system("bundle config set --local path 'vendor/bundle'")
# Install gems
system("bundle install")
end
namespace :db do
task :migrate do
%x{sequel -m 'db/migrations/' 'sqlite://data/gamedata.db'}

6
bin/setup-dev.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
# Configure bundler to use local vendor path
bundle config set --local path 'vendor/bundle'
# Install gems
bundle install