summaryrefslogtreecommitdiff
path: root/lib/bundler/templates/newgem/standard.yml.tt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bundler/templates/newgem/standard.yml.tt')
-rw-r--r--lib/bundler/templates/newgem/standard.yml.tt1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/templates/newgem/standard.yml.tt b/lib/bundler/templates/newgem/standard.yml.tt
index 9e88fbbe8b..934b0b2c37 100644
--- a/lib/bundler/templates/newgem/standard.yml.tt
+++ b/lib/bundler/templates/newgem/standard.yml.tt
@@ -1,2 +1,3 @@
# For available configuration options, see:
# https://github.com/testdouble/standard
+ruby_version: <%= ::Gem::Version.new(config[:required_ruby_version]).segments[0..1].join(".") %>