module RubyVersionPatch
Public Instance Methods
system()
click to toggle source
Calls superclass method
# File lib/bootboot/bundler_patch.rb, line 18 def system if ENV['BOOTBOOT_UPDATING_ALTERNATE_LOCKFILE'] # If we're updating the alternate file and the ruby version specified in # the Gemfile is different from the Ruby version currently running, we # want to write the version specified in `Gemfile` for the current # dependency set to the lock file Bundler::Definition.build(Bootboot::GEMFILE, nil, false).ruby_version || super else super end end