You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/running.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,10 @@ Before running the setup script, you need:
22
22
- The script must run from a WSL2 terminal (Ubuntu, Debian, etc.)
23
23
- Do not use PowerShell or Command Prompt
24
24
25
+
- **bash** (Linux and macOS have this by default, but...)
26
+
27
+
- The script uses features of bash introduced in version 5.0 so make sure you have a compatible version (Linux typically has this, macOS may require installing a newer version via Homebrew)
28
+
25
29
**Optional:**
26
30
27
31
- **Git** - Only needed if you want to clone book repositories
Copy file name to clipboardExpand all lines: init_runestone.sh
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -463,6 +463,12 @@ validate_prerequisites() {
463
463
print_header "Validating Prerequisites"
464
464
465
465
detect_platform
466
+
BASH_VERSION=$(bash --version | head -n 1 | awk '{print $4}')
467
+
if [[ "$BASH_VERSION"<"5.0" ]];then
468
+
print_warning "You are using an old version of Bash ($BASH_VERSION). It is recommended to install a newer version via Homebrew: brew install bash then rerun the script with the new bash: /usr/local/bin/bash init_runestone.sh"
0 commit comments