diff --git a/lib/bootboot/ruby_source.rb b/lib/bootboot/ruby_source.rb index 08bfbe1..9c7aa40 100644 --- a/lib/bootboot/ruby_source.rb +++ b/lib/bootboot/ruby_source.rb @@ -26,7 +26,7 @@ def specs # version is present, as well as when updating the lockfile itself. ruby_version = Bundler::Definition.build(Bootboot::GEMFILE, nil, false).ruby_version ruby_version ||= Bundler::RubyVersion.system - ruby_spec = Gem::Specification.new(ruby_spec_name, ruby_version.to_gem_version_with_patchlevel) + ruby_spec = Gem::Specification.new(ruby_spec_name, ruby_version.gem_version) ruby_spec.source = self idx << ruby_spec end