bundle config set --local path 'vendor/bundle'bundle install
bundle exec jekyll serve --livereloadThe site uses Bootstrap v5.
I integrated its SCSS stylesheets by:
- Check what version is currently being used in
_sass/bootstrap/scss/bootstrap.scss. There's no point updating to the same version - Download and extract the latest v5.x source files
- Delete the contents of the
_sass/bootstrap/directory - Copy the contents of the
scss/from the extracted download to_sass/bootstrap/
The JS is a compiled version which is updated by:
- Check what version is currently being used in
assets/js/bootstrap.min.jsto make sure it matches the Bootstrap version above. - Download and extract the compiled version of the release
- Copy the following files from the
jsdirectory in the extracted download toassets/js/- overwrite the existing filesbootstrap.min.jsbootstrap.min.js.map
- Load Croppola
- Expand cropping area to whole image
- 'Scale to' 500px x 500px
Fetching racc 1.5.2
Installing racc 1.5.2 with native extensions
Errno::EACCES: Permission denied @ rb_sysopen - /Users/lucas/sketchingdev.github.io/vendor/bundle/ruby/2.6.0/gems/racc-1.5.2/COPYING
An error occurred while installing racc (1.5.2), and Bundler cannot continue.
Make sure that `gem install racc -v '1.5.2' --source 'https://rubygems.org/'` succeeds before bundling.
I resolved this by:
- Installing rbenv
- I didn't have permissions to write to the
./vendor/bundle/ruby/2.6.0/gems/racc-1.5.2bundle, so I ran:cd vendor/bundle/ sudo chmod -R g+rw *
- I could then run the
bundle installcommand above