summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Boot <kodnin@gmail.com>2015-03-23 14:15:01 +0100
committerDavid Boot <kodnin@gmail.com>2015-03-23 14:15:01 +0100
commit403723abd349fcd5ceee5d6e37e99cc1cbf3f30b (patch)
tree9baabb7f3d0bd6c71dfcbcf549a6c47576f58e60
parentcab48fb8273108eb95d5b4332bdb9ad21a6524fb (diff)
downloadbundler-403723abd349fcd5ceee5d6e37e99cc1cbf3f30b.tar.gz
add before_install to .travis.yml template for new gems
-rw-r--r--CHANGELOG.md1
-rw-r--r--lib/bundler/templates/newgem/.travis.yml.tt1
2 files changed, 2 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2c9a0ac206..92c652e252 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,7 @@ Bugfixes:
- make Bundler.which stop finding directories (@nohoho)
- handle Bundler prereleases correctly (#3470, @segiddins)
+ - add before_install to .travis.yml template for new gems (@kodnin)
## 1.9.0.pre.1 (2015-03-11)
diff --git a/lib/bundler/templates/newgem/.travis.yml.tt b/lib/bundler/templates/newgem/.travis.yml.tt
index 4c7eba6364..d78885d0ee 100644
--- a/lib/bundler/templates/newgem/.travis.yml.tt
+++ b/lib/bundler/templates/newgem/.travis.yml.tt
@@ -1,3 +1,4 @@
language: ruby
rvm:
- <%= RUBY_VERSION %>
+before_install: gem install bundler -v <%= Bundler::VERSION %>