Ruby on Rails
How To Run Embedded Firebird On Windows

I hear that some people use Windows for their development environment. Sorry ;)

If you’re running Firebird on Windows (see Firebird Adapter), you might find it convenient to use embedded Firebird during development. With embedded Firebird, you can connect to a local Firebird database (with an exclusive lock) without starting the Firebird server as a Windows service.

  1. Download and install the embedded Firebird binaries for Windows from \SourceForge.
  2. Make a copy of fbembed.dll and rename as fbclient.dll.
  3. Move the fbclient.dll file from step 2 into the directory where your ruby.exe resides (e.g., c:\ruby\bin).
  4. If you plan to use firebird aliases, or have any custom config
    requirements, move a copy of firebird.conf into the same ruby directory as well. For aliases to work, the \RootDirectory entry in firebird.conf must point to the directory that includes your aliases.conf file.
  5. Remove or comment-out the host parameter from your database connection spec in database.yml.