[英]DB2 Installation in ruby
How can i connect with db2 AS400 in ruby without using jruby. 如何在不使用jruby的情况下使用ruby中的db2 AS400进行连接。 I am trying to install ibm_db gem in console , but it's throwing error like below 我试图在控制台中安装ibm_db gem,但它会抛出如下错误
current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/ibm_db-.0.0/ext
C:/Ruby25-x64/bin/ruby.exe -r ./siteconf20190531-15036-er6nbm.rb extconf.rb Detected 64-bit Ruby
Environment variable IBM_DB_HOME is not set. Set it to your
DB2/IBM_Data_Server_Driver installation directory and retry gem install.
The doc for the gem seems to say that only 32bit ruby is supported on Windows. gem的文档似乎表明Windows上只支持32位ruby。
README for the IBM_DB Adapter (4.0.0) and Driver (3.0.5) (2018/05/24) For ActiveRecord Version >= 5.0.7 (and Rails >= 5.0.7) IBM_DB适配器(4.0.0)和驱动程序(3.0.5)的自述文件(2018/05/24)对于ActiveRecord版本> = 5.0.7(和Rails> = 5.0.7)
Supported Operating Systems 支持的操作系统
- Linux 32/64 bit Linux 32/64位
- Microsoft Windows 32 bit Microsoft Windows 32位
- IBM AIX 32/64 bit IBM AIX 32/64位
- HP-UX 32/64 bit HP-UX 32/64位
- Sun Solaris 32/64 bit Sun Solaris 32/64位
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.