Skip to content

Installing With JRuby #142

@lbedner

Description

@lbedner

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.

/home/lbedner/lib/jruby-1.7.7/bin/jruby extconf.rb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions