List Info

Thread: frontbase adaptor?




frontbase adaptor?
user name
2006-09-07 15:39:13
Hi all,

I'm looking to deploy a rails application to a server using
frontbase
db. I have installed ruby-frontbase, but get an error when
trying to
start the server using 'frontbase' as my connection
adaptor name in
database.yaml.

The error is
------------------
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/ac
tive_record/connection_adapters/abstract/connection_specific
ation.rb:200:in
`establish_connection': database configuration specifies
nonexistent
frontbase adapter (ActiveRecord::AdapterNotFound)
------------------
and sure enough, there is no adapter for frontbase in the
connection
adapters folder of active record. The Agile Web Development
with Rails
second edition book says that rails includes this frontbase
adapter,
only requiring that ruby-frontbase be installed. And there
appears to
be evidence of a frontbase adapter being part of rails here,
http://dev.
rubyonrails.org/changeset/4304 . Does anyone know what
the
status of the frontbase adapter is?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

frontbase adaptor?
user name
2006-09-07 21:24:07
I figured out how to get it working on my own, posting
solution here
for posterity.

GemRails does not include the frontbase adapter, right now
it is
available through EdgeRails. Had to freeze my rails on
EdgeRails, using


> rake rails:freeze:edge

after that using adapter : frontbase in database.yaml works.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talkgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribegooglegroups.com
For more options, visit this group at http:
//groups.google.com/group/rubyonrails-talk
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )