Skip to content
This repository was archived by the owner on Aug 30, 2025. It is now read-only.

Commit 48aca16

Browse files
committed
Create.
1 parent 898eedc commit 48aca16

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

lib/zinbei/gem_version.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
require 'open3'
2+
3+
module RbGemversion
4+
gem_version = "gem -v"
5+
stdout_rb, stderr_rb, status_rb = Open3.capture3(gem_version)
6+
VERSION = stdout_rb.to_s
7+
end

0 commit comments

Comments
 (0)