Skip to content

Instantly share code, notes, and snippets.

@mariozig
Created December 4, 2011 03:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mariozig/1428996 to your computer and use it in GitHub Desktop.
Save mariozig/1428996 to your computer and use it in GitHub Desktop.
Create config
# No Config File
mario@red mysql2postgres $ ls -la | grep yml
mario@red mysql2postgres $ mysql2psql
/Users/mario/.rvm/gems/ruby-1.9.2-p290/gems/mysql2psql-0.1.0/lib/mysql2psql/config.rb:14:in `initialize': (Mysql2psql::ConfigurationFileInitialized)
No configuration file found.
A new file has been initialized at: /Users/mario/ruby/demo/mysql2postgres/mysql2psql.yml
Please review the configuration and retry..
# Aw yeah, there she is
mario@red mysql2postgres $ ls -la | grep yml
-rw-r--r-- 1 mario staff 881 Dec 3 19:02 mysql2psql.yml
mario@red mysql2postgres $ mate mysql2psql.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment