Skip to content

Commit b403951

Browse files
committed
Upgrade to Ubuntu 21.04
- Install `bundler` by `bundler` package https://packages.ubuntu.com/hirsute/ruby/bundler - Warnings `could not change directory to "/home/vagrant": Permission denied` during `vagrant up` is likely due to expected change in Ubuntu 21.04 ``` default: installing PostgreSQL default: could not change directory to "/home/vagrant": Permission denied default: could not change directory to "/home/vagrant": Permission denied default: could not change directory to "/home/vagrant": Permission denied default: installing MySQL ``` "Private home directories for Ubuntu 21.04" https://ubuntu.com/blog/private-home-directories-for-ubuntu-21-04
1 parent d9b06dd commit b403951

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ That's it.
2727
After the installation has finished, you can access the virtual machine with
2828

2929
host $ vagrant ssh
30-
Welcome to Ubuntu 20.10 (GNU/Linux 5.8.0-25-generic x86_64)
30+
Welcome to Ubuntu 21.04 (GNU/Linux 5.11.0-16-generic x86_64)
3131
...
3232
vagrant@rails-dev-box:~$
3333

Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- mode: ruby -*-
22
# vi: set ft=ruby :
33
Vagrant.configure('2') do |config|
4-
config.vm.box = 'ubuntu/groovy64' # 20.10
4+
config.vm.box = 'ubuntu/hirsute64' # 21.04
55
config.vm.hostname = 'rails-dev-box'
66

77
config.vm.network :forwarded_port, guest: 3000, host: 3000

bootstrap.sh

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,12 @@ echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/source
2222
echo updating package information
2323
apt-get -y update >/dev/null 2>&1
2424

25-
install Ruby ruby-full
25+
install Ruby ruby-full bundler
2626
install 'development tools' build-essential autoconf libtool
2727

2828
# echo installing current RubyGems
2929
gem update --system -N >/dev/null 2>&1
3030

31-
echo installing Bundler
32-
gem install bundler -N >/dev/null 2>&1
33-
3431
install Git git
3532
install SQLite sqlite3 libsqlite3-dev
3633
install memcached memcached

0 commit comments

Comments
 (0)