I want to build a Ruby gem to collect all local gems in a project, I don't know the best practice for that.
should i parse the Gemfile somehow and get the gems list from it? or there are libraries to make that?
also, How can i make my gem global, just like Linux commands, what i mean is if my gem name is gemlocator
and i put it on specific place in my Linux environment, it will enable me to open the terminal and cd
to my Ruby project then write gemlocator
to list the gems used in the project.