1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

Fix warnings and errors in cucumber feature tests (#2095)

* Fix failing apt-get due to unsupported Ubuntu ver

* Fix Gemfile warning due to missing source line
This commit is contained in:
Matt Brictson 2022-01-08 12:52:15 -08:00 committed by GitHub
parent f5a16779a7
commit 8eca8fe7bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -6,7 +6,7 @@ Vagrant.configure("2") do |config|
[:app].each_with_index do |role, i| [:app].each_with_index do |role, i|
config.vm.define(role, primary: true) do |primary| config.vm.define(role, primary: true) do |primary|
primary.vm.define role primary.vm.define role
primary.vm.box = "hashicorp/precise64" primary.vm.box = "hashicorp/bionic64"
primary.vm.network "forwarded_port", guest: 22, host: "222#{i}".to_i primary.vm.network "forwarded_port", guest: 22, host: "222#{i}".to_i
primary.vm.provision :shell, inline: "sudo apt-get -y install git-core" primary.vm.provision :shell, inline: "sudo apt-get -y install git-core"

View file

@ -40,6 +40,7 @@ module TestApp
FileUtils.mkdir(test_app_path) FileUtils.mkdir(test_app_path)
File.open(gemfile, "w+") do |file| File.open(gemfile, "w+") do |file|
file.write "source 'https://rubygems.org'\n"
file.write "gem 'capistrano', path: '#{path_to_cap}'" file.write "gem 'capistrano', path: '#{path_to_cap}'"
end end