Skip to content

Commit a495a44

Browse files
Troubleshoot the Gemfile
Signed-off-by: Gavin Didrichsen <[email protected]>
1 parent 48f10d8 commit a495a44

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/ci.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,38 @@ jobs:
1313
# This line enables shellcheck to be run on this repository
1414
run_shellcheck: true
1515
secrets: "inherit"
16+
17+
Debug_Gemfile:
18+
if: github.event_name == 'workflow_dispatch' # Only run when manually triggered
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v2
23+
24+
- name: Set up Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: '3.2.7'
28+
bundler-cache: true
29+
30+
- name: Check Ruby and Bundler versions
31+
run: |
32+
ruby -v
33+
bundle -v
34+
35+
- name: Debug Environment Variables
36+
run: |
37+
echo "==== Environment Variables ===="
38+
env | grep FACTER || echo "No FACTER environment variables found"
39+
echo "==== END Environment Variables ===="
40+
41+
- name: Debug Gemfile Content
42+
run: |
43+
echo "==== BEGIN GEMFILE CONTENT ===="
44+
cat Gemfile
45+
echo "==== END GEMFILE CONTENT ===="
46+
47+
- name: Run bundle install with verbose output
48+
run: |
49+
bundle install --verbose || echo "Bundle install failed as expected"
50+

0 commit comments

Comments
 (0)