Robin Böning
2013-Dec-22 22:14 UTC
Inconsistence between rails and bundler when scaffolding gems
Sometimes I use bundle gem ..., sometimes I use rails plugin new ... to create new gem scaffold. The rails plugin generator does not allow dashes in names, while the bundle command does. https://github.com/rails/rails/blob/master/railties/lib/rails/generators/rails/plugin/plugin_generator.rb#L311 https://github.com/bundler/bundler/blob/master/lib/bundler/cli.rb#L759 I want to start a public discussion about: - What is the intention that rails does not allow dashes - Lets make the gem naming consistent between bundler and the rails plugin generator, either on rails side, or on side of bundler. I don't see any drawbacks of using dashes in gem names, so I would like to send a PR that enables one to use dashes. Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/groups/opt_out.