The .gemspec file I so carefully documented when I created my gem, how do I access its contents? Specifically I’d like to access the gem.description and gem.summary entries because I put some very useful info in there.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I hope there is a better answer than this, reading YAML can be annoying, but you can use
gem specification GEMNAME. This will spit out a lot of information, you might want to pipe that to grep.