如何在Ruby编程上连接SQL Server? [英] how connect sql server on ruby programming?

查看:105
本文介绍了如何在Ruby编程上连接SQL Server?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
如果知道某人,如何在ruby上连接sql server,我想要某种方法...

hi!!
if know somebody ,how connect sql server on ruby ,,,i want something method...

推荐答案

这是我做的,终于找到并阅读了以下内容: https://rails.lighthouseapp.com/projects/8994/tickets/5250-subclassesdescendants-is-not-a-symbol

1.不建议使用Gem卸载
2.gem安装rails-dbi
3,将其放入您的gemfile:gem''rails-dbi'',:require => ''dbi''
4.捆绑更新
5.它将显示已弃用的重新安装,但似乎没有造成危害.
6.您的应用程序应运行
Here is what I did, after finally finding and reading this: https://rails.lighthouseapp.com/projects/8994/tickets/5250-subclassesdescendants-is-not-a-symbol

1.gem uninstall deprecated
2.gem install rails-dbi
3.Put this into your gemfile: gem ''rails-dbi'', :require => ''dbi''
4.bundle update
5.It will show that it re-installs deprecated, but it did not seem to cause harm.
6.Your app should run


这篇关于如何在Ruby编程上连接SQL Server?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆