Skip to content

Commit 28625b9

Browse files
update gem installation checks in test script
1 parent ade8aab commit 28625b9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

test/ruby-rails-postgres/test.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ check "rails" rails --version
1515
check "rails installation path" gem which rails
1616
check "user has write permission to rvm gems" [ -w /usr/local/rvm/gems ]
1717
check "user has write permission to rvm gems default" [ -w /usr/local/rvm/gems/default ]
18-
check "user can install gems" gem install github-markup
18+
# Verify bundler is available in the gem list
19+
check "user can install gems" gem list | grep -q bundler
20+
# Verify user can successfully install a gem package
21+
check "user can install gems" gem install json --no-document
1922

2023
# Report result
2124
reportResults

0 commit comments

Comments
 (0)