Caveat: This adapter may only work with the enterprise edition of Sybase (i.e. Sybase ASE) not with SQLAnywhere (Sybase ASA)

=gem install activerecord-sybase-adapter -s http://gems.rubyonrails.org =

1
2
3
4
5
6
ActiveRecord::Base.establish_connection(
:adapter => "sybase",
:database => "test", 
:host => "www.yourdbserver.com",
:username => "kevin", 
:password => "test")

Play!