Skip to content

Commit 44777d0

Browse files
committed
Pipeline error
1 parent dc09de4 commit 44777d0

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/cd.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,14 @@ jobs:
3131
# Pull latest code
3232
git pull origin main
3333
34-
# Load rbenv
35-
export PATH="$HOME/.rbenv/bin:$PATH"
34+
# Load Ruby environment
35+
export PATH="/home/ubuntu/.rbenv/bin:$PATH"
36+
export PATH="/home/ubuntu/.rbenv/shims:$PATH"
3637
eval "$(rbenv init -)"
38+
39+
# Verify Ruby environment
40+
echo "Ruby version: $(ruby -v)"
41+
echo "Bundler version: $(/home/ubuntu/.rbenv/shims/bundler -v)"
3742
3843
# Setup environment
3944
export RAILS_MASTER_KEY=${{ secrets.RAILS_MASTER_KEY }}
@@ -57,5 +62,5 @@ jobs:
5762
RAILS_ENV=production bundle exec rails db:migrate
5863
5964
# Restart the service instead of running puma directly
60-
sudo systemctl restart puma.service
65+
bundle exec puma -C config/puma.rb
6166
EOF

0 commit comments

Comments
 (0)