When using `bundle gem floob`, why is a directory of the same name as the gem is created?
问题 I am making my first gem. Let's assumed it is called floob . ex: bundle gem floob Why would bundle gem create two directories of the same name for a gem? ex: /floob/lib/floob/ Do I put the bulk of my code in /lib/floob/ (alongside the version.rb file?) What is the purpose of the file that is created with the gem name? ex: /floob/lib/floob.rb The only command run was bundle gem . I would love a little clarification on what the relationship is between all the floobs ~ 回答1: The reason for this