Define cucumber environment in .couchapprc

When you set-up a .couchapprc file you can define different databases, hosts ... for different environments (see couchapp doc).
To use these set-up when running cucumber I modify the env.rb mentioned here. It use the test environment defined in .couchapprc for cucumber scenarios.

Example .couchapprc file:

2 Kommentare:

  1. for me, a command like "couchapp push galaxy" produces a result of
    couchapp push galaxy
    2011-08-14 14:17:56 [INFO] Visit your CouchApp here:

    but the corresponding entry in the couchapprc file points to a different couchdb (on 5985).
    what am i doing wrong? (the default entry works well, but the flexibility promised here would be nice)

  2. Did you define the destination "galaxy" in .couchapprc ? See also http://couchapp.org/page/couchapp-config