Removed the setup rake task to run bundler and replaced it with a shell script
This commit is contained in:
1 parent
7655b75410
commit
b8bec03357
2 files changed
+6
-7
No files matched your search
@@ -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'}
|
||||
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Configure bundler to use local vendor path
|
||||
bundle config set --local path 'vendor/bundle'
|
||||
# Install gems
|
||||
bundle install
|
||||
Reference in new issue
Block a user