Sha256: 95ef9c0c8fe820343482e108b5509c65b15385e6a44597d9595a55883ec95efc
Contents?: true
Size: 463 Bytes
Versions: 4
Compression:
Stored size: 463 Bytes
Contents
#!/usr/bin/env ruby # Generates a database.yml from a template. Templates in # ~/.blaze/templates override those in the application. # Templates are included for mysql, mysql2, and pg. require "#{File.dirname(__FILE__)}/../lib/railblazer" if ARGV.empty? puts "Usage is db_config db_adapter app_name" exit 1 end raise ArgumentError, "App name must be specified as second parameter" if ARGV[1].nil? puts Railblazer::ConfigGenerator.new(ARGV[0], ARGV[1])
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
railblazer-0.0.4 | bin/db_config |
railblazer-0.0.3 | bin/db_config |
railblazer-0.0.2 | bin/db_config |
railblazer-0.0.1 | bin/db_config |