merb-gen --version prints usage, not version information
Reported by Levi Cook | September 10th, 2008 @ 03:15 AM | in 0.9.8
The title pretty much says it all. When you run merb-gen --version at the command line, it prints usage info for merb-gen. It should print version info instead.
If it's helpful, here's how I found the version info I needed.
$ gem which merb-gen (checking gem merb-gen-0.9.5 for merb-gen) /opt/ruby-enterprise-1.8.6-20080810/lib/ruby/gems/1.8/gems/merb-gen-0.9.5/lib/merb-gen.rb
Comments and changes to this ticket
-
Bryan Ray September 10th, 2008 @ 04:10 AM
- → Assigned user changed from to Bryan Ray
I agree that the output looks a little confusing, but I don't believe that option is actually output from merb-gen ... rather it is from "merb"
If you type:
merb --version
you will get the response you're looking for.
You can also do:
merb-gen generator_name --version
for example:
merb-gen app --version
-
Michael Klishin (antares) September 10th, 2008 @ 04:13 AM
- → Milestone changed from to 0.9.8
- → State changed from new to open
-
Michael Klishin (antares) September 10th, 2008 @ 04:22 AM
Btw this should be reported to -more tracker.
-

Fabien Franzen (loob2) September 19th, 2008 @ 08:35 PM
- → Tag changed from medium merb-gen to medium merb-gen
- → State changed from open to invalid
The 'General options' listed from 'merb-gen --help' only apply to specific generators, like Bryan Ray noted. For example: merb-gen app --version
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
