-
Notifications
You must be signed in to change notification settings - Fork 8
02. Maintaining your local development environment
If your LDE disk becomes full, try these instructions.
If "vagrant up" fails, or just at regular intervals, be sure to update all the dependencies for your local development environment. These commands will do so.
vagrant box update
From the command line
brew update
-- updates Homebrew list of packages
brew upgrade
-- upgrades Homebrew installed packages
2021-03-31: brew upgrade is currently breaking python with pyenv/shims/python: line 21: /usr/local/Cellar/pyenv/1.2.23/libexec/pyenv: No such file or directory
. Running pyenv rehash
, https://github.com/pyenv/pyenv/issues/1716, seems to solve this.
Note: 2018-12-11 Really we need command line tools, rather than all of XCode. I had to delete then reinstall HomeBrew to get command line tools installed in the preferred directory for HomeBrew.
Install XCode releases from Apple store or https://developer.apple.com/downloads/.
VirtualBox can be updated from the graphical client application (the VirtualBox virtual machine must be stopped first). In the Mac OSX client, this is done in the VirtualBox menu with the menu command "Check for Updates." If this fails (which it does in some versions), you can download a newer version of VirtualBox from https://www.virtualbox.org/wiki/Downloads.
If you get errors about shared folders after updating VirtualBox (or Vagrant), follow the instructions at http://kvz.io/blog/2013/01/16/vagrant-tip-keep-virtualbox-guest-additions-in-sync/.
New versions of Vagrant can be downloaded from https://www.vagrantup.com/downloads.html
The virtual server runs Ubuntu, which can be updated and upgraded from the command line with these commands:
sudo apt-get update
sudo apt-get upgrade