LoginSignup
2
2

More than 5 years have passed since last update.

TinyTDS 0.6.2を使ってSQL Serverに接続しようとしたらrb_thread_blocking_regionとか出てハマった時のメモ

Posted at

TinyTDS 0.6.2を使ってRailsからSQL Serverに接続しようとしたら下記エラーが発生した。

tiny_tds.so: undefined symbol: rb_thread_blocking_region

調べてみると0.6.3で修正されてるみたいなのでそれを使うことで解決した。

https://github.com/rails-sqlserver/tiny_tds/issues/176
https://github.com/rails-sqlserver/tiny_tds/issues/188

master branchのを使えということなのでGemfileはこんな感じ。

gem 'tiny_tds', :github => 'rails-sqlserver/tiny_tds'
2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2