Removed the setup rake task to run bundler and replaced it with a shell script
This commit is contained in:
parent
7655b75410
commit
b8bec03357
7
Rakefile
7
Rakefile
@ -1,12 +1,5 @@
|
|||||||
require 'bundler/setup'
|
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
|
namespace :db do
|
||||||
task :migrate do
|
task :migrate do
|
||||||
%x{sequel -m 'db/migrations/' 'sqlite://data/gamedata.db'}
|
%x{sequel -m 'db/migrations/' 'sqlite://data/gamedata.db'}
|
||||||
|
6
bin/setup-dev.sh
Executable file
6
bin/setup-dev.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user