Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

how do i know if a gem is installed

# answer will be true or false
gem list -i <gem_name>
# Add the version option
gem list -i <gem_name> -v version
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #gem #installed
ADD COMMENT
Topic
Name
8+4 =