问题
I have a legacy database(Progress OpenEdge) that i need to use for a myriad of reports. I have everything working with ruby 1.8.6 and rails 2.0 (odbc-adapter and odbc-rails).
Since 1.8.6 is not supported anymore and rails 2.0 is quite old i'd like to update. Is there a odbc-adapter supported on 3.2.3?
Any input is appreciated.
Thanks,
回答1:
You have to put the following line in your gemfile: gem 'ruby-odbc' and then run bundle install.
i think this is what you were looking for :)
回答2:
I am having the same problem except am using a legacy database called DBISAM from Elevate Software.
DBISAM does not support a lot of things. But I need to update things on the database and am not a wWindows ecosystem enthusiast.
I will look at ruby-odbc
and report back to y'all
EDIT
I found using RDBI fixed my problem. gem rdbi
来源:https://stackoverflow.com/questions/10337051/ruby1-9-3-on-rails3-2-3-activerecord-odbc-adapter