From: Rahul Kumar Date: 2011-11-11T03:13:31+09:00 Subject: Re: Dividing a gem into 2 or 3 gems Lake Denman wrote in post #1031242: > Those are just two off the top of my head which are set up as multiple > gems. > > https://github.com/resolve > https://github.com/rspec > > HTH Yes, the rspec (and jdbc link provided by Steve) show 2 different ways of doing it. rspec has separate repos for core mock expectations. They all use lib/rspec as their dir structure. There's also an rspec repo and the gem depends on the others, so installing it, automatically installs the others so you get the complete project. This sounds like what i have in mind. jdbc uses one repo, each adapter has its own directory, and within it, its own lib, gemspec etc. Both require moving files around quite a bit. In the second case, its within a repo so seems easy (git mv). In the second case, its across repos. Wondering how to do that. Clone ? or Just copy files and delete ? The second case is still not clear in my mind. jdbc uses one repo, so there's only one master branch. When the user branches, the entire structure gets branched. All adapters ??? Surely I understand it wrong. -- Posted via http://www.ruby-forum.com/.