私はtiny_tdsを使ってDashingウィジェットでMS SQLに接続しようとしています。私は私の仕事を始めようとすると、以下のエラーに遭遇します。CentOS 7のtiny_tdsの読み込みエラー
/root/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/thin-1.6.4/lib/thin/server.rb:107: warning: constant ::Fixnum is deprecated bundler: failed to load command: thin (/root/.rbenv/versions/2.4.1/bin/thin) LoadError: cannot load such file -- tiny_tds
gemは既にインストールされています。
[[email protected] todo]# gem list | grep tiny_tds tiny_tds (2.0.0)
[[email protected] todo]# tsql -C [TinyTds][v2.0.0][tsql]: /usr/bin/tsql Compile-time settings (established with the "configure" script) Version: freetds v0.95.81 freetds.conf directory: /etc MS db-lib source compatibility: yes Sybase binary compatibility: yes Thread safety: yes iconv library: yes TDS version: 4.2 iODBC: no unixodbc: yes SSPI "trusted" logins: no Kerberos: yes OpenSSL: no GnuTLS: yes
[[email protected] todo]# yum list freetds* Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: ftp.iitm.ac.in * epel: epel.mirror.angkasa.id * extras: ftp.iitm.ac.in * updates: ftp.iitm.ac.in Installed Packages freetds.x86_64
0.95.81-1.el7 @epel freetds-devel.x86_64
0.95.81-1.el7 @epel Available Packages freetds-doc.noarch
0.95.81-1.el7 epel [[email protected] todo]#
Rubyの使用経験はあまりありません。詳しい情報が必要な場合は教えてください。
実行しているコマンドを指定できますか? – mahemoff