ruby(1.9.3) on rails(3.2.3) Activerecord-odbc-adapter

吃可爱长大的小学妹 提交于 2019-12-10 13:54:32

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!