File tree Expand file tree Collapse file tree 3 files changed +3
-14
lines changed
Expand file tree Collapse file tree 3 files changed +3
-14
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ That's it.
2525After the installation has finished, you can access the virtual machine with
2626
2727 host $ vagrant ssh
28- Welcome to Ubuntu 17.10 (GNU/Linux 4.13 .0-16 -generic x86_64)
28+ Welcome to Ubuntu 18.04 LTS (GNU/Linux 4.15 .0-20 -generic x86_64)
2929 ...
3030 vagrant@rails-dev-box:~$
3131
Original file line number Diff line number Diff line change 11# -*- mode: ruby -*-
22# vi: set ft=ruby :
33Vagrant . configure ( '2' ) do |config |
4- # FIXME: When upgrading to a future version of Ubuntu check if the workaround
5- # near the top of bootstrap.sh is still needed. If not, please delete it.
6- config . vm . box = 'ubuntu/artful64' # 17.10
4+ config . vm . box = 'ubuntu/bionic64' # 18.04
75 config . vm . hostname = 'rails-dev-box'
86
97 config . vm . network :forwarded_port , guest : 3000 , host : 3000
Original file line number Diff line number Diff line change @@ -7,14 +7,6 @@ function install {
77 apt-get -y install " $@ " > /dev/null 2>&1
88}
99
10- # FIXME: This addresses an issue with Ubuntu 17.10 (Artful Aardvark). Should be
11- # revisited when the base image gets upgraded.
12- #
13- # Workaround for https://bugs.launchpad.net/cloud-images/+bug/1726818 without
14- # this the root file system size will be about 2GB.
15- echo expanding root file system
16- sudo resize2fs /dev/sda1
17-
1810echo adding swap file
1911fallocate -l 2G /swapfile
2012chmod 600 /swapfile
@@ -32,9 +24,8 @@ install Ruby ruby2.5 ruby2.5-dev
3224update-alternatives --set ruby /usr/bin/ruby2.5 > /dev/null 2>&1
3325update-alternatives --set gem /usr/bin/gem2.5 > /dev/null 2>&1
3426
35- # FIXME: Do not upgrade RubyGems, see https://github.com/rails/rails-dev-box/issues/147.
3627# echo installing current RubyGems
37- # gem update --system -N >/dev/null 2>&1
28+ gem update --system -N > /dev/null 2>&1
3829
3930echo installing Bundler
4031gem install bundler -N > /dev/null 2>&1
You can’t perform that action at this time.
0 commit comments