Thursday, 20 December 2012

How to find or list ruby gems available from remote source

Wondering what gems are available for you to get, or need to find one, or think you have the name incorrect?

Lets say you are not sure what the correct name for the sqlite gem is.. all you need to do is type the following in your terminal:

gem search --remote sqli

press enter

and the terminal will list all gems containing the letters "sqli" in them.. (it will act as if it had a wildcard at each end of the string *sqli*)

enjoy