Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make a better use of Bundler options

* Forget about :testing and :development dependencies.
* Ensure the DevKit is loaded before calling out to bundle install
  • Loading branch information...
commit c43f991fdc30d035ef3b26f736e9efb67392a6c2 1 parent f8a57cc
@etdsoft etdsoft authored
Showing with 12 additions and 1 deletion.
  1. +12 −1 misc/reset.bat
View
13 misc/reset.bat
@@ -8,5 +8,16 @@ set RAILS_ENV=production
set BASE=%~dp0
cd %BASE%\server\
-IF NOT EXIST Gemfile.lock call bundle install
+IF NOT EXIST Gemfile.lock goto installgems
+goto end
+
+:installgems
+:: Include the Ruby DevKit in the path
+call "%BASE%\DevKit\devkitvars.bat"
+
+:: Install dependencies
+call bundle install --without=test development
+
+:end
bundle exec thor dradis:reset
+rem end
Please sign in to comment.
Something went wrong with that request. Please try again.