The goal here is to use fb, a Firebird (FB) database driver for Ruby, on Windows.
0. You have installed Ruby using the One-Click Installer (with Ruby 1.8.6)
1. Since the current latest fb version (0.5.10) doesn’t install on Windows, you need to use the specific 0.5.3 version (which is not listed if you type: gem list fb —remote). However, the following gem command will install it: gem install fb -v 0.5.3
2. Once fb installed, your Ruby script will complain about a missing dll: msvcr71.dll. The safest way to fix this is to search on your hard drive for it, then copy it in C:\Ruby\bin (or wherever you installed Ruby). If you don’t have any, you can install the great FB client Flamerobin which uses one (then just copy it over to Ruby\bin)
Thanks to Brent Rowland (twitter.com/brentrowland), fb contributor, for the help.
PS: If you type gem list fb -all -r you will see all the versions of the gem but it still doesn’t help you on which one is suitable for Windows.
blog comments powered by Disqus