You've already forked macports.github.io
mirror of
https://github.com/macports/macports.github.io.git
synced 2026-07-12 18:19:01 -07:00
Install gems in local subdirectory
Installing in a local subdirectory means you don't need sudo to install or update and you don't pollute the MacPorts ruby27 gems directory.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
---
|
||||
BUNDLE_PATH: "vendor/bundle"
|
||||
@@ -1,2 +1,3 @@
|
||||
/_site/
|
||||
/Gemfile.lock
|
||||
/vendor/
|
||||
|
||||
@@ -18,6 +18,8 @@ Install the bundle of gems specified by this project's Gemfile:
|
||||
|
||||
bundle2.7 install
|
||||
|
||||
The gems will be installed in the vendor/bundle subdirectory of the current directory.
|
||||
|
||||
If it's been awhile since you installed the bundle, update it:
|
||||
|
||||
bundle2.7 update
|
||||
|
||||
@@ -15,6 +15,7 @@ exclude:
|
||||
- Gemfile
|
||||
- Gemfile.lock
|
||||
- README.md
|
||||
- vendor
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
- jekyll-redirect-from
|
||||
|
||||
Reference in New Issue
Block a user