[英]DB2 Installation in ruby
如何在不使用jruby的情況下使用ruby中的db2 AS400進行連接。 我試圖在控制台中安裝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.
gem的文檔似乎表明Windows上只支持32位ruby。
IBM_DB適配器(4.0.0)和驅動程序(3.0.5)的自述文件(2018/05/24)對於ActiveRecord版本> = 5.0.7(和Rails> = 5.0.7)
支持的操作系統
- Linux 32/64位
- Microsoft Windows 32位
- IBM AIX 32/64位
- HP-UX 32/64位
- Sun Solaris 32/64位
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.