# Where is the mythical activerecord-sybase-adapter

**URL:** <https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713>\
**Category:** Rails\
**Created:** [December 11, 2007, 4:15am UTC](https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713 "2007-12-11T04:15:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![athind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@athind](https://www.ruby-forum.com/u/athind)\
**Post date:** [December 11, 2007, 4:15am UTC](https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713/1 "2007-12-11T04:15:27Z")

</div>

Hello,

I just migrated to Rails 2.0.1 and now it demands a “activerecord-  
sybase-adapter” to work with my sybase db.

ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/active\_record/  
connection\_adapters/abstract/connection\_specification.rb:231:in  
`establish_connection': Please install the sybase adapter: `gem  
install activerecord-sybase-adapter`(no such file to load -- active_record/connection_adapters/sybase_adapter) (RuntimeError) from ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 215:in`establish\_connection’  
from ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.1/lib/  
active\_record/connection\_adapters/abstract/connection\_specification.rb:  
208:in `establish_connection' from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/ initializer.rb:234:in `initialize\_database’  
from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/  
initializer.rb:94:in `process' from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/ initializer.rb:49:in `send’  
from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/  
initializer.rb:49:in `run' from railsapp/public/../config/environment.rb:13 from railsapp/public/dispatch.fcgi:21:in `require’  
from railsapp/public/dispatch.fcgi:21

For my previous rails version 1.2.4, I had compiled the sybase adapter  
by following  
[http://wiki.rubyonrails.org/rails/pages/HowToSetupSybaseAdapterOnRails](http://wiki.rubyonrails.org/rails/pages/HowToSetupSybaseAdapterOnRails)  
and everything was running fine.

I have been looking for the gem activerecord-sybase-adapter everywhere  
but to no avail.

[http://ryandaigle.com/articles/2007/9/30/what-s-new-in-edge-rails-your-db-adapter-may-have-left-the-building](http://ryandaigle.com/articles/2007/9/30/what-s-new-in-edge-rails-your-db-adapter-may-have-left-the-building)

> **[Adapter gems available](https://rubyonrails.org/2007/10/1/adapter-gems-available)**
>
> The extracted adapter gems are now available for install from the gems.rubyonrails.org server. Say you want the Oracle adapter installed, you just do gem install activerecord-oracle-adapter. All the extracted gems...

Could someone please point me to the gem.

Many Thanks,  
Aman

---

<div class="post-metadata">

**Author:** ![athind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@athind](https://www.ruby-forum.com/u/athind)\
**Post date:** [December 11, 2007, 9:36am UTC](https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713/2 "2007-12-11T09:36:44Z")

</div>

[http://svn.rubyonrails.org/rails/adapters/](http://svn.rubyonrails.org/rails/adapters/)

On Dec 11, 2007 1:00 PM, athind [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> active\_record/connection\_adapters/sybase\_adapter) (RuntimeError)  
> from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/  
> and everything was running fine.
> 
> Many Thanks,  
> Aman
> 
> >

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

---

<div class="post-metadata">

**Author:** ![athind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@athind](https://www.ruby-forum.com/u/athind)\
**Post date:** [December 11, 2007, 6:52pm UTC](https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713/3 "2007-12-11T18:52:22Z")

</div>

Cool thank you so much!! It works!

---

<div class="post-metadata">

**Author:** ![athind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8edcca/32.png) [@athind](https://www.ruby-forum.com/u/athind)\
**Post date:** [January 2, 2008, 9:04pm UTC](https://www.ruby-forum.com/t/where-is-the-mythical-activerecord-sybase-adapter/122713/4 "2008-01-02T21:04:43Z")

</div>

I have a patch for this adapter: [http://dev.rubyonrails.org/ticket/10629](http://dev.rubyonrails.org/ticket/10629)  
What will happen with this? It deals with a production issue. Do I need  
to put it in some other trac? Also, can someone please take a look at  
[http://dev.rubyonrails.org/ticket/8400](http://dev.rubyonrails.org/ticket/8400)  
It implements the reconnect() method for the adapter. It might need to  
be moved to the same place as mine. It definitely needs to be tested to  
see if it’s ready for prime time.

Ryan B. wrote:

> [http://svn.rubyonrails.org/rails/adapters/](http://svn.rubyonrails.org/rails/adapters/)
> 
> On Dec 11, 2007 1:00 PM, athind [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > active\_record/connection\_adapters/sybase\_adapter) (RuntimeError)  
> > from ruby/lib/ruby/gems/1.8/gems/rails-2.0.1/lib/  
> > and everything was running fine.
> > 
> > Many Thanks,  
> > Aman
> 
> –  
> Ryan B.  
> [http://www.frozenplague.net](http://www.frozenplague.net)
