Skip to content

Commit

Permalink
Vagrant: upgrade Ubuntu 18.04, install Ruby with Snap (resque#678)
Browse files Browse the repository at this point in the history
* Vagrant to use Ubuntu 18.04
* install Vagrant Ruby via `snap`
  • Loading branch information
jweir authored and jeremy committed Jul 9, 2019
1 parent 2ffeec3 commit 6b72d92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Vagrant.configure(2) do |config|
config.vm.hostname = 'resque-scheduler'
config.vm.box = 'ubuntu/trusty64'
config.vm.box = 'ubuntu/bionic64'

config.vm.network :private_network, ip: '33.33.33.10', auto_correct: true
config.vm.network :forwarded_port, guest: 5678, host: 15678,
Expand Down
10 changes: 2 additions & 8 deletions test/vagrant/provision-as-vagrant.bash
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,5 @@ ln -svf /vagrant/test/vagrant/bash_profile ~/.bash_profile

source ~/.bashrc

curl -sSL https://rvm.io/mpapis.asc | gpg --import -

set +x
curl -sSL https://get.rvm.io | bash -s stable --ruby=2.3.1 --auto-dotfiles
source ~/.rvm/scripts/rvm
set -x

gem install --no-ri --no-rdoc bundler foreman
sudo snap install ruby --classic
gem install -N bundler foreman

0 comments on commit 6b72d92

Please sign in to comment.