Sha256: baf18d8367f8e260298cd4e0ea8946de2348a331eae28ac2eaeb4cfd67a333c1
Contents?: true
Size: 592 Bytes
Versions: 2
Compression:
Stored size: 592 Bytes
Contents
#!/user/local/bin/ruby begin require 'rails/ruby_version_check' rescue LoadError # If people are not using gems, the load path must still # be correct. # TODO: Remove the begin / rescue block somehow $:.unshift File.expand_path('../../lib', __FILE__) $:.unshift File.expand_path('../../../activesupport/lib', __FILE__) $:.unshift File.expand_path('../../../actionpack/lib', __FILE__) end Signal.trap("INT") { puts; exit } ARGV << "--help" if ARGV.empty? require 'rails/generators' require 'generators/mongoid/model/model_generator' Mongoid::Generators::ModelGenerator.start
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongo_db_gen-0.3.4 | bin/mongoid_model |
mongo_db_gen-0.3.3 | bin/mongoid_model |