Closed zeiv closed 8 years ago
I think this is straying out of bundle gem
territory and more towards standalone tools like ore
I agree that Bundler should not focus on gem bootstrapping, however I don't think the option to specify a directory is a huge step outside the minimal functionality that Bundler does provide. Especially when you consider the other gem boilerplate functionality that Bundler does provide, such as --bin
and --ext
. Adding this option would only involve a small amount of code, as well.
This issue was moved to bundler/bundler#4537
I use GitHub a lot. Usually I will create my repo online so GitHub can generate my README and LICENSE and generally make life easier, then clone it onto my machine and start developing. When I'm creating a new gem however, Bundler also makes it own directory. Often, what I want to name my gem is not the same as what I want to name my repository. So, here is what I propose:
bundle gem my-gem-name --dir my-existing-gem-repo
to specify that Bundler should generate the gem in that directory.bundle gem my-gem --current-dir
Thoughts?