Software Development
Pages
Home
About
Contact
Tuesday, April 17, 2012
How to list all the loaded gems on a server
Open a Rails console and type:
$:.each do |x|
p x
end;
p "hi"
$: variable contains the list of all gems loaded into the system. I am suppressing the output of array of those gems by doing ; p "hi" after the end.
Newer Post
Older Post
Home