Running Academic Pages locally with Ruby and Jekyll gives you the fastest feedback loop — Jekyll watches your Markdown and HTML files and automatically rebuilds the site in your browser as you save changes. This guide walks through installing the required system packages, installing Ruby gem dependencies, and starting the development server.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/academicpages/academicpages.github.io/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
You need ruby-dev, ruby-bundler, and nodejs installed on your machine before you can run the Jekyll dev server. Linux / WSL On most Linux distributions and Windows Subsystem for Linux (WSL), install the three packages withapt:
If
apt reports Unable to locate package ruby-bundler or Unable to locate package nodejs, refresh your package index first and then retry:Installing Ruby Gems
Run bundle install
From the root of your cloned repository, install all gem dependencies declared in On success, Bundler writes a
Gemfile:Gemfile.lock file that pins every gem to a specific version, ensuring reproducible builds.Resolve file permission errors
If orconfigure Bundler to install gems into a local Then run
bundle install fails with a permission error such as:vendor/bundle directory inside your project instead of the system gem path:bundle install again. On success you will see a vendor/ folder and a .bundle/ folder appear in the repository root.Running the Development Server
Start Jekyll
Launch the local server with live-reload enabled and bound to If your system has multiple Ruby environments and you want to ensure the exact gem versions from your
localhost:Gemfile.lock are used, prefix the command with bundle exec:How the Dev Server Works
The-l flag enables live-reload: Jekyll monitors your project for file changes and automatically rebuilds affected pages, then triggers a browser refresh. The -H localhost flag binds the server to the localhost interface only.
| Change type | Behaviour |
|---|---|
*.md or *.html files | Rebuilt and browser refreshed automatically |
_config.yml | Requires a full server restart — stop with Ctrl+C and run the serve command again |
Changes to
_config.yml are intentionally excluded from live-reload by Jekyll. This is noted at the top of the _config.yml file itself. Any changes to site-wide settings, the base URL, or the repository value will not appear until you restart the server.VS Code DevContainer Option
If you use Visual Studio Code, the repository ships with a Dev Container configuration that runs the full Jekyll environment inside a container without requiring any local Ruby installation. To open the project in the Dev Container:- Open the repository folder in VS Code.
- Press F1 to open the command palette.
- Type and select DevContainers: Reopen in Container.
http://localhost:4000. All changes to your files are reflected live after a few seconds.