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...
etdsoft committed Oct 10, 2011
1 parent f8a57cc commit c43f991fdc30d035ef3b26f736e9efb67392a6c2
Showing with 12 additions and 1 deletion.
  1. +12 −1 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
+:: Include the Ruby DevKit in the path
+call "%BASE%\DevKit\devkitvars.bat"
+:: Install dependencies
+call bundle install --without=test development
bundle exec thor dradis:reset
+rem end

0 comments on commit c43f991

Please sign in to comment.