summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/newgem.gemspec.tt
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-02-02 15:50:44 -0800
committerAndre Arko <andre@arko.net>2013-02-02 15:50:44 -0800
commit717470ad67b5f85e95dbc01a8e3f8a07791842bf (patch)
tree110fd3d879abfda19f74f0b60d632b886c9d6918 /lib/bundler/templates/newgem/newgem.gemspec.tt
parent2495a69431a678add32fb5411ba63b52144cdd5e (diff)
downloadbundler-717470ad67b5f85e95dbc01a8e3f8a07791842bf.tar.gz
fix dep name, add version constraint
Diffstat (limited to 'lib/bundler/templates/newgem/newgem.gemspec.tt')
-rw-r--r--lib/bundler/templates/newgem/newgem.gemspec.tt2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/templates/newgem/newgem.gemspec.tt b/lib/bundler/templates/newgem/newgem.gemspec.tt
index 2d7710e747..28997f0277 100644
--- a/lib/bundler/templates/newgem/newgem.gemspec.tt
+++ b/lib/bundler/templates/newgem/newgem.gemspec.tt
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]
- spec.add_development_dependency "bundle"
+ spec.add_development_dependency "bundler", "~> <%= Bundler::VERSION.split(".")[0..1].join(".") %>"
spec.add_development_dependency "rake"
<% if config[:test] -%>
spec.add_development_dependency "<%=config[:test]%>"