From 530303300bda44856825c93c12c17b21c0604feb Mon Sep 17 00:00:00 2001 From: Jason Draper Date: Thu, 1 Aug 2013 14:02:24 -0400 Subject: [PATCH] Specify bundle install for travis. * Thanks to @sikachu! Travis will now runs `bundle install --deployment` if it detects that the project has `Gemfile.lock`. However, there's a problem in Bundler deployment install that cause it not installing `bundler` gem into `vendor/bundle` directory, which causes `require 'bundler'` to fail. --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 05562d33..719829ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,8 @@ script: "bundle exec rake spec cucumber" +install: + "bundle install" + rvm: - 1.9.2 - 1.9.3