I was looking through some code and came across a “require ‘etc'” line. Of course, googling for things like “ruby etc gem” has been fruitless. I haven’t found any documentation for it (yet) so I thought I’d ask here.
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.
Since you know it’s a gem, you should search from http://rubygems.org/, which immediately leads to http://rubygems.org/gems/etc.
The source code shows it’s a parser of
/etc/passwdand/etc/group.