Ideal ruby project structure
问题 I'm after an overview/clarification of the ideal project structure for a ruby (non-rails/merb/etc) project. I'm guessing it follows app/ bin/ #Files for command-line execution lib/ appname.rb appname/ #Classes and so on Rakefile #Running tests README test,spec,features/ #Whichever means of testing you go for appname.gemspec #If it's a gem Have I got something wrong? What parts have I missed out? 回答1: I think that is pretty much spot on. By default, Rubygems will add the lib directory to the