Skip to content

Commit

Permalink
UJ: Merged from template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwieds committed Nov 27, 2023
2 parents 58d6fae + 3911783 commit 74195a8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
14 changes: 13 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ jobs:
with:
ruby-version: '3.0.0'
bundler-cache: false
- name: Install specific bundler version
run: gem install bundler -v 2.4.21
- name: Run bundle install
run: |
bundle install --path vendor/bundle
Expand All @@ -45,12 +47,22 @@ jobs:
run: npm install
- name: Log dependency versions
run: |
echo "Unix Version: "
uname -a
echo "Ubuntu Version: "
lsb_release -a
echo "Ruby: $(ruby -v)"
echo "Gem: $(gem -v)"
echo "Bundler: $(bundle -v)"
echo "Node: $(node -v)"
echo "NPM: $(npm -v)"
echo "Dependencies: "
echo "Gem Versions: "
gem list
echo "NPM Dependeny Versions: "
npm list --depth=0 || echo ""
- name: Run node build
run: npm run build -- --buildLocation='server'
Expand Down
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ source "https://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 4.2.0"
gem "jekyll", "= 4.3.2"

# If you have any plugins, put them here!
group :jekyll_plugins do
# Master Plugins
gem "jekyll-paginate-v2"
gem "jekyll-liquify"
gem "jekyll-truthyfalsy"
gem "jekyll-paginate-v2", "= 3.0.0"
gem "jekyll-liquify", "= 0.0.2" # ❌ Version 0.0.3 breaks the site
gem "jekyll-truthyfalsy", "= 1.0.2"

# Project Plugins
end
Expand All @@ -27,8 +27,8 @@ gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem "wdm", "~> 0.1.0" if Gem.win_platform?

# Required for Apple silicon
gem "webrick", "~> 1.7"
# gem "webrick", "= 1.7.0"

# Fix x86_64 / arm64e error
# /Users/ian/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/redcarpet-3.6.0/lib/redcarpet.rb:1:in `require': dlopen(/Users/ian/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle, 0x0009): tried: '/Users/ian/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e))) - /Users/ian/.rbenv/versions/3.0.0/lib/ruby/gems/3.0.0/gems/redcarpet-3.6.0/lib/redcarpet.bundle (LoadError)
gem "redcarpet", "~> 3.5.1"
gem "redcarpet", "= 3.5.1"

0 comments on commit 74195a8

Please sign in to comment.