diff --git a/spec/bundler/commands/update_spec.rb b/spec/bundler/commands/update_spec.rb index b2761f112d..2618a909d1 100644 --- a/spec/bundler/commands/update_spec.rb +++ b/spec/bundler/commands/update_spec.rb @@ -694,7 +694,7 @@ RSpec.describe "bundle update" do end it "shows error message when Gemfile.lock is not preset and gem is specified" do - install_gemfile <<-G + gemfile <<-G source "#{file_uri_for(gem_repo2)}" gem "activesupport" G