Got this from Stack Overflow, figured it could come in handy at some point in the future.
Gem.loaded_specs.values.map {|x| "#{x.name} #{x.version}"}
Got this from Stack Overflow, figured it could come in handy at some point in the future.
Gem.loaded_specs.values.map {|x| "#{x.name} #{x.version}"}