What's New in Edge Rails: Your DB Adapter May Have Left the Building

Posted by ryan
at 10:36 AM on Sunday, September 30, 2007

If your Rails app happens to be running against anything but a MySQL, PostgreSQL or SQLite database and you’re on Edge Rails (or are headed to Rails 2.0) then you’re going to need to make sure you have the correct gems installed on your machine. As of now the database adapters for these databases have been pulled out of the core Rails distribution and are available as gems. One of these should work for you if you rely on one of the affected databases:

1
2
3
4
5
6
gem install activerecord-oracle-adapter
gem install activerecord-sqlserver-adapter
gem install activerecord-firebird-adapter
gem install activerecord-frontbase-adapter
gem install activerecord-openbase-adapter
gem install activerecord-sybase-adapter

tags: ruby, rubyonrails

Comments

Leave a response

  1. BrianSeptember 30, 2007 @ 09:19 PM

    I am seeing a GemNotFoundException. It there a particular “-source” argument we need to be using with these “gem install” commands?

  2. RyanOctober 04, 2007 @ 03:33 PM

    Hey Brian, pretty sure the adapters are now in RubyForge so your standard command should work.