You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /home/lbedner/lib/jruby-1.7.7/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1084
(root) at /home/lbedner/lib/jruby-1.7.7/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:5
Gem files will remain installed in /home/lbedner/lib/jruby-1.7.7/lib/ruby/gems/shared/gems/tiny_tds-0.6.0.rc1 for inspection.
Results logged to /home/lbedner/lib/jruby-1.7.7/lib/ruby/gems/shared/gems/tiny_tds-0.6.0.rc1/ext/tiny_tds/gem_make.out
And of course, just pointing out that FreeTDS is already successfully installed.
Any thoughts?
Thanks.
The text was updated successfully, but these errors were encountered:
I don't believe TinyTds will work with jRuby since it requires C extensions to be compiled into a shared library.
With jRuby I use all Java libraries and it's been pretty painless.
For SQL Server I've used the built-in activerecord-jdbcmssql-adapter from activerecord-jdbc-adapter.
NotImplementedError: C extension support is not enable
Yea, I tested it some time ago with success on jRuby, but they really did not want to continue to support C extensions. I have an issue on the adapter to incorporate a JDBC connection mode since the adapter has abstract support for that. rails-sqlserver/activerecord-sqlserver-adapter#106
Hello.
I have successfully installed this gem under pure ruby (1.8.7) with no issues, and have been using it for quite some time:
gem install tiny_tds -v 0.6.0.rc1
Now, I am trying to install it with Jruby (1.7.7):
jruby -S gem install tiny_tds -v 0.6.0.rc1
And I'm getting the following error:
Building native extensions. This could take a while...
ERROR: Error installing tiny_tds:
ERROR: Failed to build gem native extension.
NotImplementedError: C extension support is not enabled. Pass -Xcext.enabled=true to JRuby or set JRUBY_OPTS.
(root) at /home/lbedner/lib/jruby-1.7.7/lib/ruby/shared/mkmf.rb:8
require at org/jruby/RubyKernel.java:1084
(root) at /home/lbedner/lib/jruby-1.7.7/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
(root) at extconf.rb:5
Gem files will remain installed in /home/lbedner/lib/jruby-1.7.7/lib/ruby/gems/shared/gems/tiny_tds-0.6.0.rc1 for inspection.
Results logged to /home/lbedner/lib/jruby-1.7.7/lib/ruby/gems/shared/gems/tiny_tds-0.6.0.rc1/ext/tiny_tds/gem_make.out
And of course, just pointing out that FreeTDS is already successfully installed.
Any thoughts?
Thanks.
The text was updated successfully, but these errors were encountered: