The webpage for the Gravel Lab at Mcgill University
To make edits to this page, ie. adding a biography or publications, follow these instructions:
- From this repository, click Fork in the top right corner.
- Clone your fork to your local machine using the command 'git clone'
- Make your desired changes.
- Optionally, run your site locally to view your changes.
- Commit your changes with 'git commit', then push your changes with 'git push'.
- If you did not run your site locally, run it from github and view your changes there.
- From this repository, click on 'Pull Requests', then 'New Pull Request'.
- Click 'compare across forks', then choose your repository as the head repository. Then click 'Create pull request'.
- Install ruby-dev (https://www.ruby-lang.org/en/documentation/installation/), ruby-gem (https://rubygems.org/pages/download), and nodejs (https://nodejs.org/en/download)
- Open a terminal in your repository's location, and run 'bundle install' and 'bundle exec jekyll serve'.
- Open 'localhost:4000' in your browser.
"ERROR: While executing gem ... (Gem::FilePermissionError)": on macOS, reinstall ruby using these instructions:
(https://www.moncefbelyamani.com/the-definitive-guide-to-installing-ruby-gems-on-a-mac/)
"bundler: failed to load command: jekyll"; run "bundle add webrick" or change your Ruby version to 2.7
"Error: No source of timezone data could be found.": add a line "gem 'tzinfo-data'" to the Gemfile.
"cannot load such file -- webrick (LoadError)": add a line "gem 'webrick'" to the Gemfile.
If you make any changes to the Gemfile, make sure to run 'bundle install' again before attempting to run the site.